diff --git a/Source/Bind/DocProcessor.cs b/Source/Bind/DocProcessor.cs index 45f63178..316192ac 100644 --- a/Source/Bind/DocProcessor.cs +++ b/Source/Bind/DocProcessor.cs @@ -13,7 +13,6 @@ namespace Bind { static readonly Regex remove_mathml = new Regex(@"<(mml:math)[^>]*?>(?:.|\n)*?", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.IgnorePatternWhitespace); - static readonly StreamWriter output_stream = new StreamWriter(new MemoryStream()); static readonly XslCompiledTransform xslt = new System.Xml.Xsl.XslCompiledTransform(); static readonly XmlReaderSettings settings = new XmlReaderSettings(); diff --git a/Source/Bind/GL2/Generator.cs b/Source/Bind/GL2/Generator.cs index 5381f8b4..e1cba8d4 100644 --- a/Source/Bind/GL2/Generator.cs +++ b/Source/Bind/GL2/Generator.cs @@ -35,6 +35,9 @@ namespace Bind.GL2 protected static Regex enumToDotNet = new Regex("_[a-z|A-Z]?", RegexOptions.Compiled); + protected static readonly char[] numbers = "0123456789".ToCharArray(); + //protected static readonly Dictionary doc_replacements; + DocProcessor doc_processor = new DocProcessor(Path.Combine(Settings.DocPath, Settings.DocFile)); #endregion @@ -662,11 +665,19 @@ namespace Bind.GL2 { if ((Settings.Compatibility & Settings.Legacy.NoDocumentation) == 0) { - Console.SetCursorPosition(0, y); - Console.WriteLine("Creating docs for #{0} ({1}) ", current++, f.Name); + Console.WriteLine("Creating docs for #{0} ({1})", current++, f.Name); try { - sw.WriteLine(doc_processor.ProcessFile(Path.Combine(Settings.DocPath, "gl" + f.WrappedDelegate.Name + ".xml"))); + string path = Path.Combine(Settings.DocPath, "gl" + f.WrappedDelegate.Name + ".xml"); + if (!File.Exists(path)) + path = Path.Combine(Settings.DocPath, "gl" + + f.TrimmedName + ".xml"); + + if (!File.Exists(path)) + path = Path.Combine(Settings.DocPath, "gl" + f.TrimmedName.TrimEnd(numbers) + ".xml"); + + if (File.Exists(path)) + sw.WriteLine(doc_processor.ProcessFile(path)); } catch (FileNotFoundException) { } diff --git a/Source/Bind/Structures/Delegate.cs b/Source/Bind/Structures/Delegate.cs index e9bddf38..602776cc 100644 --- a/Source/Bind/Structures/Delegate.cs +++ b/Source/Bind/Structures/Delegate.cs @@ -362,10 +362,7 @@ namespace Bind.Structures { Function f = new Function(this); f.WrapReturnType(); - if ((Settings.Compatibility & Settings.Legacy.GenerateAllPermutations) == Settings.Legacy.None) - f.WrapParameters(wrappers); - else - f.WrapParametersComplete(wrappers); + f.WrapParameters(wrappers); } // If the function is not CLS-compliant (e.g. it contains unsigned parameters) @@ -461,22 +458,6 @@ namespace Bind.Structures ReturnType.CurrentType = "int"; } - if (ReturnType.CurrentType.ToLower().Contains("bool")) - { - // TODO: Is the translation to 'int' needed 100%? It breaks WGL. - /* - if (Settings.Compatibility == Settings.Legacy.Tao) - { - ReturnType.CurrentType = "int"; - } - else - { - } - */ - - //ReturnType.WrapperType = WrapperTypes.ReturnsBool; - } - ReturnType.CurrentType = ReturnType.GetCLSCompliantType(); } diff --git a/Source/Bind/Structures/Enum.cs b/Source/Bind/Structures/Enum.cs index c36bccc2..4289a3ca 100644 --- a/Source/Bind/Structures/Enum.cs +++ b/Source/Bind/Structures/Enum.cs @@ -154,9 +154,6 @@ namespace Bind.Structures foreach (Constant c in constants) { - if (c.Name == "PointSmooth") - { - } sb.Append(" "); sb.Append(c.ToString()); if (!String.IsNullOrEmpty(c.ToString())) diff --git a/Source/Bind/Structures/Function.cs b/Source/Bind/Structures/Function.cs index d4e47fcb..8e34f2fb 100644 --- a/Source/Bind/Structures/Function.cs +++ b/Source/Bind/Structures/Function.cs @@ -41,6 +41,7 @@ namespace Bind.Structures #region Fields Delegate wrapped_delegate; + int index; #endregion @@ -58,15 +59,17 @@ namespace Bind.Structures public Function(Delegate d) : base(d) { - if (d is Function) - this.Body = new FunctionBody((d as Function).Body); - else - this.Body = new FunctionBody(); - this.Name = d.Name; - + Name = d.Name; + Body = new FunctionBody(); WrappedDelegate = d; } + public Function(Function f) + : this((Delegate)f) + { + this.Body = new FunctionBody(f.Body); + } + #endregion public Delegate WrappedDelegate @@ -195,10 +198,34 @@ namespace Bind.Structures sb.Append(Settings.FunctionPrefix); } sb.Append(!String.IsNullOrEmpty(TrimmedName) ? TrimmedName : Name); - sb.Append(Parameters.ToString(false)); + + if (Parameters.HasGenericParameters) + { + sb.Append("<"); + foreach (Parameter p in Parameters) + { + if (p.Generic) + { + sb.Append(p.CurrentType); + sb.Append(","); + } + } + sb.Remove(sb.Length - 1, 1); + sb.Append(">"); + } + sb.AppendLine(Parameters.ToString(false)); + if (Parameters.HasGenericParameters) + { + foreach (Parameter p in Parameters) + { + if (p.Generic) + sb.AppendLine(String.Format(" where {0} : struct", p.CurrentType)); + } + + } + if (Body.Count > 0) { - sb.AppendLine(); sb.Append(Body.ToString()); } @@ -225,10 +252,6 @@ namespace Bind.Structures { Function f; - if (this.Name.Contains("TessVertex")) - { - } - if (Parameters.HasPointerParameters) { // Array overloads @@ -289,145 +312,10 @@ namespace Bind.Structures #endregion - #region public void WrapParametersComplete(List wrappers) - - static int index = 0; - - /// - /// Adds to the wrapper list all possible wrapper permutations for every possible parameter combination. - /// "void Delegates.f(IntPtr p, IntPtr q)" where p and q are pointers to void arrays needs the following wrappers: - /// "void f(IntPtr p, IntPtr q)" - /// "void f(IntPtr p, object q)" - /// "void f(object p, IntPtr q)" - /// "void f(object p, object q)" - /// - /// - public void WrapParametersComplete(List wrappers) - { - if (index == 0) - { - //if (this.Parameters.HasPointerParameters) - { - Function f = new Function(this); - f.CreateBody(false); - wrappers.Add(f); - } - //else - //{ - // if (this.Body.Count == 0) - // wrappers.Add(DefaultWrapper(this)); - // else - // wrappers.Add(this); - // return; - //} - } - - if (index >= 0 && index < this.Parameters.Count) - { - Function f; - - switch (this.Parameters[index].WrapperType) - { - case WrapperTypes.None: - // No wrapper needed, visit the next parameter - ++index; - WrapParametersComplete(wrappers); - --index; - break; - - case WrapperTypes.ArrayParameter: - // Recurse to the last parameter - ++index; - WrapParametersComplete(wrappers); - --index; - - // On stack rewind, create array wrappers - f = new Function(this); - f.Parameters[index].Reference = false; - f.Parameters[index].Array = 1; - f.Parameters[index].Pointer = false; - f.CreateBody(false); - wrappers.Add(f); - - // Recurse to the last parameter again, keeping the Array wrappers - ++index; - f.WrapParametersComplete(wrappers); - --index; - - // On stack rewind create reference wrappers. - f = new Function(this); - f.Parameters[index].Reference = true; - f.Parameters[index].Array = 0; - f.Parameters[index].Pointer = false; - f.CreateBody(false); - wrappers.Add(f); - - // Keeping the current reference wrapper, revisit all other parameters. - ++index; - f.WrapParametersComplete(wrappers); - --index; - - break; - - case WrapperTypes.GenericParameter: - // Recurse to the last parameter - ++index; - WrapParametersComplete(wrappers); - --index; - - // On stack rewind, create object wrappers - f = new Function(this); - f.Parameters[index].Reference = false; - f.Parameters[index].Array = 0; - f.Parameters[index].Pointer = false; - f.Parameters[index].CurrentType = "object"; - f.Parameters[index].Flow = Parameter.FlowDirection.Undefined; - - f.CreateBody(false); - wrappers.Add(f); - - // Keeping the current Object wrapper, visit all other parameters once more - ++index; - f.WrapParametersComplete(wrappers); - --index; - - break; - - //case WrapperTypes.ReferenceParameter: - // // Recurse to the last parameter - // ++index; - // WrapParameters(this, wrappers); - // --index; - - // // On stack rewind, create reference wrappers - // f = new this(this); - // f.Parameters[index].Reference = true; - // f.Parameters[index].Array = 0; - // f.Parameters[index].Pointer = false; - // f.Body = CreateBody(f, false); - // //f = ReferenceWrapper(new this(this), index); - // wrappers.Add(f); - - // // Keeping the current Object wrapper, visit all other parameters once more - // ++index; - // WrapParameters(f, wrappers); - // --index; - - // break; - } - } - } - - #endregion - #region public void WrapVoidPointers(List wrappers) public void WrapVoidPointers(List wrappers) { - if (this.Name.Contains("TessVertex")) - { - } - if (index >= 0 && index < Parameters.Count) { if (Parameters[index].WrapperType == WrapperTypes.GenericParameter) @@ -438,22 +326,45 @@ namespace Bind.Structures --index; // On stack rewind, create object wrappers - Parameters[index].Reference = false; + Parameters[index].Reference = true; Parameters[index].Array = 0; Parameters[index].Pointer = false; - Parameters[index].CurrentType = "object"; + Parameters[index].Generic = true; + Parameters[index].CurrentType = "T" + index.ToString(); Parameters[index].Flow = Parameter.FlowDirection.Undefined; Parameters.Rebuild = true; CreateBody(false); - wrappers.Add(this); + wrappers.Add(new Function(this)); - // Keeping the current Object wrapper, visit all other parameters once more - ++index; - //if ((Settings.Compatibility & Settings.Legacy.GenerateAllPermutations) == Settings.Legacy.None) - // WrapParameters(wrappers); - //else - // WrapParametersComplete(wrappers); - --index; + Parameters[index].Reference = false; + Parameters[index].Array = 1; + Parameters[index].Pointer = false; + Parameters[index].Generic = true; + Parameters[index].CurrentType = "T" + index.ToString(); + Parameters[index].Flow = Parameter.FlowDirection.Undefined; + Parameters.Rebuild = true; + CreateBody(false); + wrappers.Add(new Function(this)); + + Parameters[index].Reference = false; + Parameters[index].Array = 2; + Parameters[index].Pointer = false; + Parameters[index].Generic = true; + Parameters[index].CurrentType = "T" + index.ToString(); + Parameters[index].Flow = Parameter.FlowDirection.Undefined; + Parameters.Rebuild = true; + CreateBody(false); + wrappers.Add(new Function(this)); + + Parameters[index].Reference = false; + Parameters[index].Array = 3; + Parameters[index].Pointer = false; + Parameters[index].Generic = true; + Parameters[index].CurrentType = "T" + index.ToString(); + Parameters[index].Flow = Parameter.FlowDirection.Undefined; + Parameters.Rebuild = true; + CreateBody(false); + wrappers.Add(new Function(this)); } else { @@ -508,8 +419,8 @@ namespace Bind.Structures // Use GCHandle to obtain pointer to generic parameters and 'fixed' for arrays. // This is because fixed can only take the address of fields, not managed objects. handle_statements.Add(String.Format( - "{0} {1}_ptr = {0}.Alloc({1}, System.Runtime.InteropServices.GCHandleType.Pinned);", - "System.Runtime.InteropServices.GCHandle", p.Name)); + "{0} {1}_ptr = {0}.Alloc({1}, GCHandleType.Pinned);", + "GCHandle", p.Name)); handle_release_statements.Add(String.Format("{0}_ptr.Free();", p.Name)); @@ -576,7 +487,7 @@ namespace Bind.Structures if (f.ReturnType.CurrentType.ToLower().Contains("void")) f.Body.Add(String.Format("{0};", f.CallString())); else if (ReturnType.CurrentType.ToLower().Contains("string")) - f.Body.Add(String.Format("{0} {1} = System.Runtime.InteropServices.Marshal.PtrToStringAnsi({2});", + f.Body.Add(String.Format("{0} {1} = Marshal.PtrToStringAnsi({2});", ReturnType.CurrentType, "retval", CallString())); else f.Body.Add(String.Format("{0} {1} = {2};", f.ReturnType.CurrentType, "retval", f.CallString())); diff --git a/Source/Bind/Structures/Parameter.cs b/Source/Bind/Structures/Parameter.cs index 8fdf5077..f50bf1c5 100644 --- a/Source/Bind/Structures/Parameter.cs +++ b/Source/Bind/Structures/Parameter.cs @@ -43,6 +43,7 @@ namespace Bind.Structures this.Name = p.Name; this.Unchecked = p.Unchecked; this.UnmanagedType = p.UnmanagedType; + this.Generic = p.Generic; this.Flow = p.Flow; this.cache = p.cache; //this.rebuild = false; @@ -157,6 +158,17 @@ namespace Bind.Structures #endregion + #region public bool Generic + + bool generic; + public bool Generic + { + get { return generic; } + set { generic = value; } + } + + #endregion + #region public override string CurrentType public override string CurrentType @@ -221,7 +233,12 @@ namespace Bind.Structures { sb.Append(CurrentType); if (Array > 0) - sb.Append("[]"); + { + sb.Append("["); + for (int i = 1; i < Array; i++) + sb.Append(","); + sb.Append("]"); + } } } else @@ -230,7 +247,12 @@ namespace Bind.Structures if (Pointer) sb.Append("*"); if (Array > 0) - sb.Append("[]"); + { + sb.Append("["); + for (int i = 1; i < Array; i++) + sb.Append(","); + sb.Append("]"); + } } if (!String.IsNullOrEmpty(Name)) { @@ -263,7 +285,7 @@ namespace Bind.Structures CurrentType = Flow == Parameter.FlowDirection.Out ? "System.Text.StringBuilder" : - "System.String"; + "String"; Pointer = false; WrapperType = WrapperTypes.None; @@ -299,6 +321,7 @@ namespace Bind.Structures bool hasPointerParameters; bool hasReferenceParameters; bool hasUnsignedParameters; + bool hasGenericParameters; bool unsafe_types_allowed; public bool Rebuild { @@ -326,9 +349,9 @@ namespace Bind.Structures void BuildCache() { + BuildReferenceAndPointerParametersCache(); BuildCallStringCache(); BuildToStringCache(unsafe_types_allowed); - BuildReferenceAndPointerParametersCache(); Rebuild = false; } @@ -379,6 +402,21 @@ namespace Bind.Structures #endregion + #region public bool HasGenericParameters + + public bool HasGenericParameters + { + get + { + if (Rebuild) + BuildCache(); + + return hasGenericParameters; + } + } + + #endregion + #region void BuildReferenceAndPointerParametersCache() void BuildReferenceAndPointerParametersCache() @@ -393,6 +431,9 @@ namespace Bind.Structures if (p.Unsigned) hasUnsignedParameters = true; + + if (p.Generic) + hasGenericParameters = true; } } @@ -500,7 +541,7 @@ namespace Bind.Structures if (p.Unchecked) sb.Append("unchecked((" + p.CurrentType + ")"); - if (p.CurrentType != "object") + if (!p.Generic && p.CurrentType != "object") { if (p.CurrentType.ToLower().Contains("string")) { @@ -521,9 +562,7 @@ namespace Bind.Structures } } - sb.Append( - Utilities.Keywords.Contains(p.Name) ? "@" + p.Name : p.Name - ); + sb.Append(Utilities.Keywords.Contains(p.Name) ? "@" + p.Name : p.Name); if (p.Unchecked) sb.Append(")"); diff --git a/Source/Bind/Structures/Type.cs b/Source/Bind/Structures/Type.cs index 4d6768ae..c6075b5a 100644 --- a/Source/Bind/Structures/Type.cs +++ b/Source/Bind/Structures/Type.cs @@ -65,7 +65,7 @@ namespace Bind.Structures #endregion - #region public string Type + #region public string CurrentType string type; /// @@ -125,7 +125,7 @@ namespace Bind.Structures #endregion - #region public bool Array + #region public int Array int array; @@ -207,30 +207,6 @@ namespace Bind.Structures #endregion - #region public string GetFullType() - - public string GetFullType(Dictionary CSTypes, bool compliant) - { - //if (Pointer && ((Settings.Compatibility & Settings.Legacy.NoPublicUnsafeFunctions) != Settings.Legacy.None)) - // return "IntPtr"; - - if (!compliant) - { - return - CurrentType + - (Pointer ? "*" : "") + - (Array > 0 ? "[]" : ""); - } - - return - GetCLSCompliantType() + - (Pointer ? "*" : "") + - (Array > 0 ? "[]" : ""); - - } - - #endregion - #region public string GetCLSCompliantType() public string GetCLSCompliantType() diff --git a/Source/OpenTK/Graphics/GL/GL.cs b/Source/OpenTK/Graphics/GL/GL.cs index e791b2c4..47fcb5af 100644 --- a/Source/OpenTK/Graphics/GL/GL.cs +++ b/Source/OpenTK/Graphics/GL/GL.cs @@ -168,11 +168,126 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "DisplayList", Version = "1.0", EntryPoint = "glCallLists")] public static - void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] object lists) + void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] ref T2 lists) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle lists_ptr = System.Runtime.InteropServices.GCHandle.Alloc(lists, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); + try + { + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + } + finally + { + lists_ptr.Free(); + } + } + } + + + /// + /// 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 = "DisplayList", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[] lists) + where T2 : struct + { + unsafe + { + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); + try + { + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + } + finally + { + lists_ptr.Free(); + } + } + } + + + /// + /// 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 = "DisplayList", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[,] lists) + where T2 : struct + { + unsafe + { + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); + try + { + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); + } + finally + { + lists_ptr.Free(); + } + } + } + + + /// + /// 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 = "DisplayList", Version = "1.0", EntryPoint = "glCallLists")] + public static + void CallLists(Int32 n, OpenTK.Graphics.ListNameType type, [In, Out] T2[,,] lists) + where T2 : struct + { + unsafe + { + GCHandle lists_ptr = GCHandle.Alloc(lists, GCHandleType.Pinned); try { Delegates.glCallLists((Int32)n, (OpenTK.Graphics.ListNameType)type, (IntPtr)lists_ptr.AddrOfPinnedObject()); @@ -398,6 +513,20 @@ namespace OpenTK.Graphics Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3b")] public static @@ -406,6 +535,20 @@ namespace OpenTK.Graphics Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3bv")] public static @@ -420,6 +563,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3bv")] public static @@ -434,6 +591,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3bv")] public static @@ -442,6 +613,20 @@ namespace OpenTK.Graphics Delegates.glColor3bv((SByte*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3d")] public static void Color3(Double red, Double green, Double blue) @@ -449,6 +634,20 @@ namespace OpenTK.Graphics Delegates.glColor3d((Double)red, (Double)green, (Double)blue); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3dv")] public static void Color3(Double[] v) @@ -462,6 +661,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3dv")] public static void Color3(ref Double v) @@ -475,6 +688,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3dv")] public static @@ -483,6 +710,20 @@ namespace OpenTK.Graphics Delegates.glColor3dv((Double*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3f")] public static void Color3(Single red, Single green, Single blue) @@ -490,6 +731,20 @@ namespace OpenTK.Graphics Delegates.glColor3f((Single)red, (Single)green, (Single)blue); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3fv")] public static void Color3(Single[] v) @@ -503,6 +758,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3fv")] public static void Color3(ref Single v) @@ -516,6 +785,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3fv")] public static @@ -524,6 +807,20 @@ namespace OpenTK.Graphics Delegates.glColor3fv((Single*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3i")] public static void Color3(Int32 red, Int32 green, Int32 blue) @@ -531,6 +828,20 @@ namespace OpenTK.Graphics Delegates.glColor3i((Int32)red, (Int32)green, (Int32)blue); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3iv")] public static void Color3(Int32[] v) @@ -544,6 +855,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3iv")] public static void Color3(ref Int32 v) @@ -557,6 +882,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3iv")] public static @@ -565,6 +904,20 @@ namespace OpenTK.Graphics Delegates.glColor3iv((Int32*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3s")] public static void Color3(Int16 red, Int16 green, Int16 blue) @@ -572,6 +925,20 @@ namespace OpenTK.Graphics Delegates.glColor3s((Int16)red, (Int16)green, (Int16)blue); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3sv")] public static void Color3(Int16[] v) @@ -585,6 +952,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3sv")] public static void Color3(ref Int16 v) @@ -598,6 +979,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3sv")] public static @@ -606,6 +1001,20 @@ namespace OpenTK.Graphics Delegates.glColor3sv((Int16*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3ub")] public static void Color3(Byte red, Byte green, Byte blue) @@ -613,6 +1022,20 @@ namespace OpenTK.Graphics Delegates.glColor3ub((Byte)red, (Byte)green, (Byte)blue); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3ubv")] public static void Color3(Byte[] v) @@ -626,6 +1049,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3ubv")] public static void Color3(ref Byte v) @@ -639,6 +1076,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3ubv")] public static @@ -647,6 +1098,20 @@ namespace OpenTK.Graphics Delegates.glColor3ubv((Byte*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3ui")] public static @@ -655,6 +1120,20 @@ namespace OpenTK.Graphics Delegates.glColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3uiv")] public static @@ -669,6 +1148,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3uiv")] public static @@ -683,6 +1176,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3uiv")] public static @@ -691,6 +1198,20 @@ namespace OpenTK.Graphics Delegates.glColor3uiv((UInt32*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3us")] public static @@ -699,6 +1220,20 @@ namespace OpenTK.Graphics Delegates.glColor3us((UInt16)red, (UInt16)green, (UInt16)blue); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3usv")] public static @@ -713,6 +1248,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3usv")] public static @@ -727,6 +1276,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor3usv")] public static @@ -735,6 +1298,20 @@ namespace OpenTK.Graphics Delegates.glColor3usv((UInt16*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4b")] public static @@ -743,6 +1320,20 @@ namespace OpenTK.Graphics Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4bv")] public static @@ -757,6 +1348,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4bv")] public static @@ -771,6 +1376,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4bv")] public static @@ -779,6 +1398,20 @@ namespace OpenTK.Graphics Delegates.glColor4bv((SByte*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4d")] public static void Color4(Double red, Double green, Double blue, Double alpha) @@ -786,6 +1419,20 @@ namespace OpenTK.Graphics Delegates.glColor4d((Double)red, (Double)green, (Double)blue, (Double)alpha); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4dv")] public static void Color4(Double[] v) @@ -799,6 +1446,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4dv")] public static void Color4(ref Double v) @@ -812,6 +1473,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4dv")] public static @@ -820,6 +1495,20 @@ namespace OpenTK.Graphics Delegates.glColor4dv((Double*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4f")] public static void Color4(Single red, Single green, Single blue, Single alpha) @@ -827,6 +1516,20 @@ namespace OpenTK.Graphics Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4fv")] public static void Color4(Single[] v) @@ -840,6 +1543,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4fv")] public static void Color4(ref Single v) @@ -853,6 +1570,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4fv")] public static @@ -861,6 +1592,20 @@ namespace OpenTK.Graphics Delegates.glColor4fv((Single*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4i")] public static void Color4(Int32 red, Int32 green, Int32 blue, Int32 alpha) @@ -868,6 +1613,20 @@ namespace OpenTK.Graphics Delegates.glColor4i((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4iv")] public static void Color4(Int32[] v) @@ -881,6 +1640,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4iv")] public static void Color4(ref Int32 v) @@ -894,6 +1667,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4iv")] public static @@ -902,6 +1689,20 @@ namespace OpenTK.Graphics Delegates.glColor4iv((Int32*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4s")] public static void Color4(Int16 red, Int16 green, Int16 blue, Int16 alpha) @@ -909,6 +1710,20 @@ namespace OpenTK.Graphics Delegates.glColor4s((Int16)red, (Int16)green, (Int16)blue, (Int16)alpha); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4sv")] public static void Color4(Int16[] v) @@ -922,6 +1737,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4sv")] public static void Color4(ref Int16 v) @@ -935,6 +1764,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4sv")] public static @@ -943,6 +1786,20 @@ namespace OpenTK.Graphics Delegates.glColor4sv((Int16*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4ub")] public static void Color4(Byte red, Byte green, Byte blue, Byte alpha) @@ -950,6 +1807,20 @@ namespace OpenTK.Graphics Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4ubv")] public static void Color4(Byte[] v) @@ -963,6 +1834,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4ubv")] public static void Color4(ref Byte v) @@ -976,6 +1861,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4ubv")] public static @@ -984,6 +1883,20 @@ namespace OpenTK.Graphics Delegates.glColor4ubv((Byte*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4ui")] public static @@ -992,6 +1905,20 @@ namespace OpenTK.Graphics Delegates.glColor4ui((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4uiv")] public static @@ -1006,6 +1933,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4uiv")] public static @@ -1020,6 +1961,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4uiv")] public static @@ -1028,6 +1983,20 @@ namespace OpenTK.Graphics Delegates.glColor4uiv((UInt32*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4us")] public static @@ -1036,6 +2005,20 @@ namespace OpenTK.Graphics Delegates.glColor4us((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4usv")] public static @@ -1050,6 +2033,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4usv")] public static @@ -1064,6 +2061,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glColor4usv")] public static @@ -1129,6 +2140,18 @@ namespace OpenTK.Graphics Delegates.glEnd(); } + + /// + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glIndexd")] public static void Index(Double c) @@ -1170,6 +2193,18 @@ namespace OpenTK.Graphics Delegates.glIndexdv((Double*)c); } + + /// + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glIndexf")] public static void Index(Single c) @@ -1211,6 +2246,18 @@ namespace OpenTK.Graphics Delegates.glIndexfv((Single*)c); } + + /// + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glIndexi")] public static void Index(Int32 c) @@ -1252,6 +2299,18 @@ namespace OpenTK.Graphics Delegates.glIndexiv((Int32*)c); } + + /// + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glIndexs")] public static void Index(Int16 c) @@ -1293,6 +2352,18 @@ namespace OpenTK.Graphics Delegates.glIndexsv((Int16*)c); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glNormal3b")] public static @@ -1301,6 +2372,18 @@ namespace OpenTK.Graphics Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glNormal3b")] public static void Normal3(Byte nx, Byte ny, Byte nz) @@ -1308,6 +2391,18 @@ namespace OpenTK.Graphics Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glNormal3bv")] public static @@ -1322,6 +2417,18 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glNormal3bv")] public static void Normal3(Byte[] v) @@ -1335,6 +2442,18 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glNormal3bv")] public static @@ -1349,6 +2468,18 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glNormal3bv")] public static void Normal3(ref Byte v) @@ -1362,6 +2493,18 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glNormal3bv")] public static @@ -1370,6 +2513,18 @@ namespace OpenTK.Graphics Delegates.glNormal3bv((SByte*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glNormal3bv")] public static @@ -1378,6 +2533,18 @@ namespace OpenTK.Graphics Delegates.glNormal3bv((SByte*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glNormal3d")] public static void Normal3(Double nx, Double ny, Double nz) @@ -1385,6 +2552,18 @@ namespace OpenTK.Graphics Delegates.glNormal3d((Double)nx, (Double)ny, (Double)nz); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glNormal3dv")] public static void Normal3(Double[] v) @@ -1398,6 +2577,18 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glNormal3dv")] public static void Normal3(ref Double v) @@ -1411,6 +2602,18 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glNormal3dv")] public static @@ -1419,6 +2622,18 @@ namespace OpenTK.Graphics Delegates.glNormal3dv((Double*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glNormal3f")] public static void Normal3(Single nx, Single ny, Single nz) @@ -1426,6 +2641,18 @@ namespace OpenTK.Graphics Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glNormal3fv")] public static void Normal3(Single[] v) @@ -1439,6 +2666,18 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glNormal3fv")] public static void Normal3(ref Single v) @@ -1452,6 +2691,18 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glNormal3fv")] public static @@ -1460,6 +2711,18 @@ namespace OpenTK.Graphics Delegates.glNormal3fv((Single*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glNormal3i")] public static void Normal3(Int32 nx, Int32 ny, Int32 nz) @@ -1467,6 +2730,18 @@ namespace OpenTK.Graphics Delegates.glNormal3i((Int32)nx, (Int32)ny, (Int32)nz); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glNormal3iv")] public static void Normal3(Int32[] v) @@ -1480,6 +2755,18 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glNormal3iv")] public static void Normal3(ref Int32 v) @@ -1493,6 +2780,18 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glNormal3iv")] public static @@ -1501,6 +2800,18 @@ namespace OpenTK.Graphics Delegates.glNormal3iv((Int32*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glNormal3s")] public static void Normal3(Int16 nx, Int16 ny, Int16 nz) @@ -1508,6 +2819,18 @@ namespace OpenTK.Graphics Delegates.glNormal3s((Int16)nx, (Int16)ny, (Int16)nz); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glNormal3sv")] public static void Normal3(Int16[] v) @@ -1521,6 +2844,18 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glNormal3sv")] public static void Normal3(ref Int16 v) @@ -1534,6 +2869,18 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current normal vector + /// + /// + /// + /// Specify the , , and coordinates of the new current normal. The initial value of the current normal is the unit vector, (0, 0, 1). + /// + /// + /// + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glNormal3sv")] public static @@ -1542,6 +2889,15 @@ namespace OpenTK.Graphics Delegates.glNormal3sv((Int16*)v); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2d")] public static void RasterPos2(Double x, Double y) @@ -1549,6 +2905,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos2d((Double)x, (Double)y); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2dv")] public static void RasterPos2(Double[] v) @@ -1562,6 +2927,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2dv")] public static void RasterPos2(ref Double v) @@ -1575,6 +2949,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2dv")] public static @@ -1583,6 +2966,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos2dv((Double*)v); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2f")] public static void RasterPos2(Single x, Single y) @@ -1590,6 +2982,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos2f((Single)x, (Single)y); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2fv")] public static void RasterPos2(Single[] v) @@ -1603,6 +3004,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2fv")] public static void RasterPos2(ref Single v) @@ -1616,6 +3026,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2fv")] public static @@ -1624,6 +3043,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos2fv((Single*)v); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2i")] public static void RasterPos2(Int32 x, Int32 y) @@ -1631,6 +3059,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos2i((Int32)x, (Int32)y); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2iv")] public static void RasterPos2(Int32[] v) @@ -1644,6 +3081,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2iv")] public static void RasterPos2(ref Int32 v) @@ -1657,6 +3103,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2iv")] public static @@ -1665,6 +3120,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos2iv((Int32*)v); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2s")] public static void RasterPos2(Int16 x, Int16 y) @@ -1672,6 +3136,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos2s((Int16)x, (Int16)y); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2sv")] public static void RasterPos2(Int16[] v) @@ -1685,6 +3158,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2sv")] public static void RasterPos2(ref Int16 v) @@ -1698,6 +3180,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos2sv")] public static @@ -1706,6 +3197,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos2sv((Int16*)v); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3d")] public static void RasterPos3(Double x, Double y, Double z) @@ -1713,6 +3213,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos3d((Double)x, (Double)y, (Double)z); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3dv")] public static void RasterPos3(Double[] v) @@ -1726,6 +3235,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3dv")] public static void RasterPos3(ref Double v) @@ -1739,6 +3257,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3dv")] public static @@ -1747,6 +3274,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos3dv((Double*)v); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3f")] public static void RasterPos3(Single x, Single y, Single z) @@ -1754,6 +3290,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos3f((Single)x, (Single)y, (Single)z); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3fv")] public static void RasterPos3(Single[] v) @@ -1767,6 +3312,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3fv")] public static void RasterPos3(ref Single v) @@ -1780,6 +3334,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3fv")] public static @@ -1788,6 +3351,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos3fv((Single*)v); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3i")] public static void RasterPos3(Int32 x, Int32 y, Int32 z) @@ -1795,6 +3367,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos3i((Int32)x, (Int32)y, (Int32)z); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3iv")] public static void RasterPos3(Int32[] v) @@ -1808,6 +3389,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3iv")] public static void RasterPos3(ref Int32 v) @@ -1821,6 +3411,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3iv")] public static @@ -1829,6 +3428,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos3iv((Int32*)v); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3s")] public static void RasterPos3(Int16 x, Int16 y, Int16 z) @@ -1836,6 +3444,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos3s((Int16)x, (Int16)y, (Int16)z); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3sv")] public static void RasterPos3(Int16[] v) @@ -1849,6 +3466,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3sv")] public static void RasterPos3(ref Int16 v) @@ -1862,6 +3488,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos3sv")] public static @@ -1870,6 +3505,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos3sv((Int16*)v); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4d")] public static void RasterPos4(Double x, Double y, Double z, Double w) @@ -1877,6 +3521,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos4d((Double)x, (Double)y, (Double)z, (Double)w); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4dv")] public static void RasterPos4(Double[] v) @@ -1890,6 +3543,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4dv")] public static void RasterPos4(ref Double v) @@ -1903,6 +3565,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4dv")] public static @@ -1911,6 +3582,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos4dv((Double*)v); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4f")] public static void RasterPos4(Single x, Single y, Single z, Single w) @@ -1918,6 +3598,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos4f((Single)x, (Single)y, (Single)z, (Single)w); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4fv")] public static void RasterPos4(Single[] v) @@ -1931,6 +3620,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4fv")] public static void RasterPos4(ref Single v) @@ -1944,6 +3642,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4fv")] public static @@ -1952,6 +3659,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos4fv((Single*)v); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4i")] public static void RasterPos4(Int32 x, Int32 y, Int32 z, Int32 w) @@ -1959,6 +3675,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4iv")] public static void RasterPos4(Int32[] v) @@ -1972,6 +3697,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4iv")] public static void RasterPos4(ref Int32 v) @@ -1985,6 +3719,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4iv")] public static @@ -1993,6 +3736,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos4iv((Int32*)v); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4s")] public static void RasterPos4(Int16 x, Int16 y, Int16 z, Int16 w) @@ -2000,6 +3752,15 @@ namespace OpenTK.Graphics Delegates.glRasterPos4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4sv")] public static void RasterPos4(Int16[] v) @@ -2013,6 +3774,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4sv")] public static void RasterPos4(ref Int16 v) @@ -2026,6 +3796,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position for pixel operations + /// + /// + /// + /// Specify the , , , and object coordinates (if present) for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRasterPos4sv")] public static @@ -2034,6 +3813,20 @@ namespace OpenTK.Graphics Delegates.glRasterPos4sv((Int16*)v); } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectd")] public static void Rect(Double x1, Double y1, Double x2, Double y2) @@ -2041,6 +3834,20 @@ namespace OpenTK.Graphics Delegates.glRectd((Double)x1, (Double)y1, (Double)x2, (Double)y2); } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectdv")] public static void Rect(Double[] v1, Double[] v2) @@ -2055,6 +3862,20 @@ namespace OpenTK.Graphics } } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectdv")] public static void Rect(ref Double v1, ref Double v2) @@ -2069,6 +3890,20 @@ namespace OpenTK.Graphics } } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectdv")] public static @@ -2077,6 +3912,20 @@ namespace OpenTK.Graphics Delegates.glRectdv((Double*)v1, (Double*)v2); } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectf")] public static void Rect(Single x1, Single y1, Single x2, Single y2) @@ -2084,6 +3933,20 @@ namespace OpenTK.Graphics Delegates.glRectf((Single)x1, (Single)y1, (Single)x2, (Single)y2); } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectfv")] public static void Rect(Single[] v1, Single[] v2) @@ -2098,6 +3961,20 @@ namespace OpenTK.Graphics } } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectfv")] public static void Rect(ref Single v1, ref Single v2) @@ -2112,6 +3989,20 @@ namespace OpenTK.Graphics } } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectfv")] public static @@ -2120,6 +4011,20 @@ namespace OpenTK.Graphics Delegates.glRectfv((Single*)v1, (Single*)v2); } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRecti")] public static void Rect(Int32 x1, Int32 y1, Int32 x2, Int32 y2) @@ -2127,6 +4032,20 @@ namespace OpenTK.Graphics Delegates.glRecti((Int32)x1, (Int32)y1, (Int32)x2, (Int32)y2); } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectiv")] public static void Rect(Int32[] v1, Int32[] v2) @@ -2141,6 +4060,20 @@ namespace OpenTK.Graphics } } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectiv")] public static void Rect(ref Int32 v1, ref Int32 v2) @@ -2155,6 +4088,20 @@ namespace OpenTK.Graphics } } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectiv")] public static @@ -2170,6 +4117,20 @@ namespace OpenTK.Graphics Delegates.glRects((Int16)x1, (Int16)y1, (Int16)x2, (Int16)y2); } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectsv")] public static void Rect(Int16[] v1, Int16[] v2) @@ -2184,6 +4145,20 @@ namespace OpenTK.Graphics } } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectsv")] public static void Rect(ref Int16 v1, ref Int16 v2) @@ -2198,6 +4173,20 @@ namespace OpenTK.Graphics } } + + /// + /// Draw a rectangle + /// + /// + /// + /// Specify one vertex of a rectangle. + /// + /// + /// + /// + /// Specify the opposite vertex of the rectangle. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glRectsv")] public static @@ -2206,6 +4195,15 @@ namespace OpenTK.Graphics Delegates.glRectsv((Int16*)v1, (Int16*)v2); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord1d")] public static void TexCoord1(Double s) @@ -2247,6 +4245,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord1dv((Double*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord1f")] public static void TexCoord1(Single s) @@ -2288,6 +4295,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord1fv((Single*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord1i")] public static void TexCoord1(Int32 s) @@ -2329,6 +4345,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord1iv((Int32*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord1s")] public static void TexCoord1(Int16 s) @@ -2370,6 +4395,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord1sv((Int16*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2d")] public static void TexCoord2(Double s, Double t) @@ -2377,6 +4411,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord2d((Double)s, (Double)t); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2dv")] public static void TexCoord2(Double[] v) @@ -2390,6 +4433,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2dv")] public static void TexCoord2(ref Double v) @@ -2403,6 +4455,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2dv")] public static @@ -2411,6 +4472,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord2dv((Double*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2f")] public static void TexCoord2(Single s, Single t) @@ -2418,6 +4488,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord2f((Single)s, (Single)t); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2fv")] public static void TexCoord2(Single[] v) @@ -2431,6 +4510,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2fv")] public static void TexCoord2(ref Single v) @@ -2444,6 +4532,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2fv")] public static @@ -2452,6 +4549,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord2fv((Single*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2i")] public static void TexCoord2(Int32 s, Int32 t) @@ -2459,6 +4565,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord2i((Int32)s, (Int32)t); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2iv")] public static void TexCoord2(Int32[] v) @@ -2472,6 +4587,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2iv")] public static void TexCoord2(ref Int32 v) @@ -2485,6 +4609,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2iv")] public static @@ -2493,6 +4626,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord2iv((Int32*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2s")] public static void TexCoord2(Int16 s, Int16 t) @@ -2500,6 +4642,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord2s((Int16)s, (Int16)t); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2sv")] public static void TexCoord2(Int16[] v) @@ -2513,6 +4664,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2sv")] public static void TexCoord2(ref Int16 v) @@ -2526,6 +4686,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord2sv")] public static @@ -2534,6 +4703,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord2sv((Int16*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3d")] public static void TexCoord3(Double s, Double t, Double r) @@ -2541,6 +4719,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord3d((Double)s, (Double)t, (Double)r); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3dv")] public static void TexCoord3(Double[] v) @@ -2554,6 +4741,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3dv")] public static void TexCoord3(ref Double v) @@ -2567,6 +4763,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3dv")] public static @@ -2575,6 +4780,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord3dv((Double*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3f")] public static void TexCoord3(Single s, Single t, Single r) @@ -2582,6 +4796,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord3f((Single)s, (Single)t, (Single)r); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3fv")] public static void TexCoord3(Single[] v) @@ -2595,6 +4818,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3fv")] public static void TexCoord3(ref Single v) @@ -2608,6 +4840,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3fv")] public static @@ -2616,6 +4857,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord3fv((Single*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3i")] public static void TexCoord3(Int32 s, Int32 t, Int32 r) @@ -2623,6 +4873,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord3i((Int32)s, (Int32)t, (Int32)r); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3iv")] public static void TexCoord3(Int32[] v) @@ -2636,6 +4895,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3iv")] public static void TexCoord3(ref Int32 v) @@ -2649,6 +4917,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3iv")] public static @@ -2657,6 +4934,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord3iv((Int32*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3s")] public static void TexCoord3(Int16 s, Int16 t, Int16 r) @@ -2664,6 +4950,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord3s((Int16)s, (Int16)t, (Int16)r); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3sv")] public static void TexCoord3(Int16[] v) @@ -2677,6 +4972,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3sv")] public static void TexCoord3(ref Int16 v) @@ -2690,6 +4994,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord3sv")] public static @@ -2698,6 +5011,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord3sv((Int16*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4d")] public static void TexCoord4(Double s, Double t, Double r, Double q) @@ -2705,6 +5027,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord4d((Double)s, (Double)t, (Double)r, (Double)q); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4dv")] public static void TexCoord4(Double[] v) @@ -2718,6 +5049,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4dv")] public static void TexCoord4(ref Double v) @@ -2731,6 +5071,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4dv")] public static @@ -2739,6 +5088,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord4dv((Double*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4f")] public static void TexCoord4(Single s, Single t, Single r, Single q) @@ -2746,6 +5104,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord4f((Single)s, (Single)t, (Single)r, (Single)q); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4fv")] public static void TexCoord4(Single[] v) @@ -2759,6 +5126,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4fv")] public static void TexCoord4(ref Single v) @@ -2772,6 +5148,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4fv")] public static @@ -2780,6 +5165,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord4fv((Single*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4i")] public static void TexCoord4(Int32 s, Int32 t, Int32 r, Int32 q) @@ -2787,6 +5181,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord4i((Int32)s, (Int32)t, (Int32)r, (Int32)q); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4iv")] public static void TexCoord4(Int32[] v) @@ -2800,6 +5203,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4iv")] public static void TexCoord4(ref Int32 v) @@ -2813,6 +5225,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4iv")] public static @@ -2821,6 +5242,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord4iv((Int32*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4s")] public static void TexCoord4(Int16 s, Int16 t, Int16 r, Int16 q) @@ -2828,6 +5258,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord4s((Int16)s, (Int16)t, (Int16)r, (Int16)q); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4sv")] public static void TexCoord4(Int16[] v) @@ -2841,6 +5280,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4sv")] public static void TexCoord4(ref Int16 v) @@ -2854,6 +5302,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glTexCoord4sv")] public static @@ -2862,6 +5319,15 @@ namespace OpenTK.Graphics Delegates.glTexCoord4sv((Int16*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex2d")] public static void Vertex2(Double x, Double y) @@ -2869,6 +5335,15 @@ namespace OpenTK.Graphics Delegates.glVertex2d((Double)x, (Double)y); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex2dv")] public static void Vertex2(Double[] v) @@ -2882,6 +5357,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex2dv")] public static void Vertex2(ref Double v) @@ -2895,6 +5379,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex2dv")] public static @@ -2903,6 +5396,15 @@ namespace OpenTK.Graphics Delegates.glVertex2dv((Double*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex2f")] public static void Vertex2(Single x, Single y) @@ -2910,6 +5412,15 @@ namespace OpenTK.Graphics Delegates.glVertex2f((Single)x, (Single)y); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex2fv")] public static void Vertex2(Single[] v) @@ -2923,6 +5434,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex2fv")] public static void Vertex2(ref Single v) @@ -2936,6 +5456,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex2fv")] public static @@ -2944,6 +5473,15 @@ namespace OpenTK.Graphics Delegates.glVertex2fv((Single*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex2i")] public static void Vertex2(Int32 x, Int32 y) @@ -2951,6 +5489,15 @@ namespace OpenTK.Graphics Delegates.glVertex2i((Int32)x, (Int32)y); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex2iv")] public static void Vertex2(Int32[] v) @@ -2964,6 +5511,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex2iv")] public static void Vertex2(ref Int32 v) @@ -2977,6 +5533,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex2iv")] public static @@ -2985,6 +5550,15 @@ namespace OpenTK.Graphics Delegates.glVertex2iv((Int32*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex2s")] public static void Vertex2(Int16 x, Int16 y) @@ -2992,6 +5566,15 @@ namespace OpenTK.Graphics Delegates.glVertex2s((Int16)x, (Int16)y); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex2sv")] public static void Vertex2(Int16[] v) @@ -3005,6 +5588,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex2sv")] public static void Vertex2(ref Int16 v) @@ -3018,6 +5610,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex2sv")] public static @@ -3026,6 +5627,15 @@ namespace OpenTK.Graphics Delegates.glVertex2sv((Int16*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex3d")] public static void Vertex3(Double x, Double y, Double z) @@ -3033,6 +5643,15 @@ namespace OpenTK.Graphics Delegates.glVertex3d((Double)x, (Double)y, (Double)z); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex3dv")] public static void Vertex3(Double[] v) @@ -3046,6 +5665,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex3dv")] public static void Vertex3(ref Double v) @@ -3059,6 +5687,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex3dv")] public static @@ -3067,6 +5704,15 @@ namespace OpenTK.Graphics Delegates.glVertex3dv((Double*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex3f")] public static void Vertex3(Single x, Single y, Single z) @@ -3074,6 +5720,15 @@ namespace OpenTK.Graphics Delegates.glVertex3f((Single)x, (Single)y, (Single)z); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex3fv")] public static void Vertex3(Single[] v) @@ -3087,6 +5742,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex3fv")] public static void Vertex3(ref Single v) @@ -3100,6 +5764,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex3fv")] public static @@ -3108,6 +5781,15 @@ namespace OpenTK.Graphics Delegates.glVertex3fv((Single*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex3i")] public static void Vertex3(Int32 x, Int32 y, Int32 z) @@ -3115,6 +5797,15 @@ namespace OpenTK.Graphics Delegates.glVertex3i((Int32)x, (Int32)y, (Int32)z); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex3iv")] public static void Vertex3(Int32[] v) @@ -3128,6 +5819,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex3iv")] public static void Vertex3(ref Int32 v) @@ -3141,6 +5841,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex3iv")] public static @@ -3149,6 +5858,15 @@ namespace OpenTK.Graphics Delegates.glVertex3iv((Int32*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex3s")] public static void Vertex3(Int16 x, Int16 y, Int16 z) @@ -3156,6 +5874,15 @@ namespace OpenTK.Graphics Delegates.glVertex3s((Int16)x, (Int16)y, (Int16)z); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex3sv")] public static void Vertex3(Int16[] v) @@ -3169,6 +5896,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex3sv")] public static void Vertex3(ref Int16 v) @@ -3182,6 +5918,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex3sv")] public static @@ -3190,6 +5935,15 @@ namespace OpenTK.Graphics Delegates.glVertex3sv((Int16*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex4d")] public static void Vertex4(Double x, Double y, Double z, Double w) @@ -3197,6 +5951,15 @@ namespace OpenTK.Graphics Delegates.glVertex4d((Double)x, (Double)y, (Double)z, (Double)w); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex4dv")] public static void Vertex4(Double[] v) @@ -3210,6 +5973,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex4dv")] public static void Vertex4(ref Double v) @@ -3223,6 +5995,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex4dv")] public static @@ -3231,6 +6012,15 @@ namespace OpenTK.Graphics Delegates.glVertex4dv((Double*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex4f")] public static void Vertex4(Single x, Single y, Single z, Single w) @@ -3238,6 +6028,15 @@ namespace OpenTK.Graphics Delegates.glVertex4f((Single)x, (Single)y, (Single)z, (Single)w); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex4fv")] public static void Vertex4(Single[] v) @@ -3251,6 +6050,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex4fv")] public static void Vertex4(ref Single v) @@ -3264,6 +6072,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex4fv")] public static @@ -3272,6 +6089,15 @@ namespace OpenTK.Graphics Delegates.glVertex4fv((Single*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex4i")] public static void Vertex4(Int32 x, Int32 y, Int32 z, Int32 w) @@ -3279,6 +6105,15 @@ namespace OpenTK.Graphics Delegates.glVertex4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex4iv")] public static void Vertex4(Int32[] v) @@ -3292,6 +6127,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex4iv")] public static void Vertex4(ref Int32 v) @@ -3305,6 +6149,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex4iv")] public static @@ -3313,6 +6166,15 @@ namespace OpenTK.Graphics Delegates.glVertex4iv((Int32*)v); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex4s")] public static void Vertex4(Int16 x, Int16 y, Int16 z, Int16 w) @@ -3320,6 +6182,15 @@ namespace OpenTK.Graphics Delegates.glVertex4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); } + + /// + /// 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 = "Drawing", Version = "1.0", EntryPoint = "glVertex4sv")] public static void Vertex4(Int16[] v) @@ -3333,6 +6204,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex4sv")] public static void Vertex4(ref Int16 v) @@ -3346,6 +6226,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a vertex + /// + /// + /// + /// Specify x, y, z, and w coordinates of a vertex. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Drawing", Version = "1.0", EntryPoint = "glVertex4sv")] public static @@ -3467,6 +6356,20 @@ namespace OpenTK.Graphics Delegates.glCullFace((OpenTK.Graphics.CullFaceMode)mode); } + + /// + /// 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 = "DrawingControl", Version = "1.0", EntryPoint = "glFogf")] public static void Fog(OpenTK.Graphics.FogParameter pname, Single param) @@ -3508,6 +6411,20 @@ namespace OpenTK.Graphics Delegates.glFogfv((OpenTK.Graphics.FogParameter)pname, (Single*)@params); } + + /// + /// 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 = "DrawingControl", Version = "1.0", EntryPoint = "glFogi")] public static void Fog(OpenTK.Graphics.FogParameter pname, Int32 param) @@ -3586,6 +6503,25 @@ namespace OpenTK.Graphics Delegates.glHint((OpenTK.Graphics.HintTarget)target, (OpenTK.Graphics.HintMode)mode); } + + /// + /// 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 = "DrawingControl", Version = "1.0", EntryPoint = "glLightf")] public static void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Single param) @@ -3627,6 +6563,25 @@ namespace OpenTK.Graphics Delegates.glLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params); } + + /// + /// 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 = "DrawingControl", Version = "1.0", EntryPoint = "glLighti")] public static void Light(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, Int32 param) @@ -3668,6 +6623,20 @@ namespace OpenTK.Graphics Delegates.glLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params); } + + /// + /// 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 = "DrawingControl", Version = "1.0", EntryPoint = "glLightModelf")] public static void LightModel(OpenTK.Graphics.LightModelParameter pname, Single param) @@ -3709,6 +6678,20 @@ namespace OpenTK.Graphics Delegates.glLightModelfv((OpenTK.Graphics.LightModelParameter)pname, (Single*)@params); } + + /// + /// 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 = "DrawingControl", Version = "1.0", EntryPoint = "glLightModeli")] public static void LightModel(OpenTK.Graphics.LightModelParameter pname, Int32 param) @@ -3815,6 +6798,25 @@ namespace OpenTK.Graphics Delegates.glLineWidth((Single)width); } + + /// + /// 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 = "DrawingControl", Version = "1.0", EntryPoint = "glMaterialf")] public static void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Single param) @@ -3856,6 +6858,25 @@ namespace OpenTK.Graphics Delegates.glMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params); } + + /// + /// 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 = "DrawingControl", Version = "1.0", EntryPoint = "glMateriali")] public static void Material(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, Int32 param) @@ -4032,6 +7053,25 @@ namespace OpenTK.Graphics Delegates.glShadeModel((OpenTK.Graphics.ShadingModel)mode); } + + /// + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// [AutoGenerated(Category = "DrawingControl", Version = "1.0", EntryPoint = "glTexParameterf")] public static void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Single param) @@ -4073,6 +7113,25 @@ namespace OpenTK.Graphics Delegates.glTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.TextureParameterName)pname, (Single*)@params); } + + /// + /// Set texture parameters + /// + /// + /// + /// Specifies the target texture, which must be either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, or GL_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the symbolic name of a single-valued texture parameter. pname can be one of the following: GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_PRIORITY, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, or GL_GENERATE_MIPMAP. + /// + /// + /// + /// + /// Specifies the value of pname. + /// + /// [AutoGenerated(Category = "DrawingControl", Version = "1.0", EntryPoint = "glTexParameteri")] public static void TexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.TextureParameterName pname, Int32 param) @@ -4214,11 +7273,201 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "DrawingControl", Version = "1.0", EntryPoint = "glTexImage1D")] public static - void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// 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 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "DrawingControl", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + where T7 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// 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 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "DrawingControl", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) + where T7 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// 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 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "DrawingControl", Version = "1.0", EntryPoint = "glTexImage1D")] + public static + void TexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + where T7 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -4340,11 +7589,12 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "DrawingControl", Version = "1.0", EntryPoint = "glTexImage2D")] public static - void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -4356,6 +7606,229 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "DrawingControl", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "DrawingControl", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "DrawingControl", Version = "1.0", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// 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 = "DrawingControl", Version = "1.0", EntryPoint = "glTexEnvf")] public static void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Single param) @@ -4397,6 +7870,25 @@ namespace OpenTK.Graphics Delegates.glTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); } + + /// + /// 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 = "DrawingControl", Version = "1.0", EntryPoint = "glTexEnvi")] public static void TexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, Int32 param) @@ -4479,6 +7971,25 @@ namespace OpenTK.Graphics Delegates.glTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); } + + /// + /// 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 = "DrawingControl", Version = "1.0", EntryPoint = "glTexGenf")] public static void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Single param) @@ -4520,6 +8031,25 @@ namespace OpenTK.Graphics Delegates.glTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); } + + /// + /// 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 = "DrawingControl", Version = "1.0", EntryPoint = "glTexGeni")] public static void TexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, Int32 param) @@ -5224,6 +8754,35 @@ namespace OpenTK.Graphics Delegates.glPushAttrib((OpenTK.Graphics.AttribMask)mask); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMap1d")] public static void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double[] points) @@ -5237,6 +8796,35 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMap1d")] public static void Map1(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, ref Double points) @@ -5250,6 +8838,35 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMap1d")] public static @@ -5258,6 +8875,35 @@ namespace OpenTK.Graphics Delegates.glMap1d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMap1f")] public static void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single[] points) @@ -5271,6 +8917,35 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMap1f")] public static void Map1(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, ref Single points) @@ -5284,6 +8959,35 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMap1f")] public static @@ -5292,6 +8996,50 @@ namespace OpenTK.Graphics Delegates.glMap1f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMap2d")] public static void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double[] points) @@ -5305,6 +9053,50 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMap2d")] public static void Map2(OpenTK.Graphics.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, ref Double points) @@ -5318,6 +9110,50 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMap2d")] public static @@ -5326,6 +9162,50 @@ namespace OpenTK.Graphics Delegates.glMap2d((OpenTK.Graphics.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMap2f")] public static void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single[] points) @@ -5339,6 +9219,50 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMap2f")] public static void Map2(OpenTK.Graphics.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, ref Single points) @@ -5352,6 +9276,50 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMap2f")] public static @@ -5360,6 +9328,30 @@ namespace OpenTK.Graphics Delegates.glMap2f((OpenTK.Graphics.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMapGrid1d")] public static void MapGrid1(Int32 un, Double u1, Double u2) @@ -5367,6 +9359,30 @@ namespace OpenTK.Graphics Delegates.glMapGrid1d((Int32)un, (Double)u1, (Double)u2); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMapGrid1f")] public static void MapGrid1(Int32 un, Single u1, Single u2) @@ -5374,6 +9390,30 @@ namespace OpenTK.Graphics Delegates.glMapGrid1f((Int32)un, (Single)u1, (Single)u2); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMapGrid2d")] public static void MapGrid2(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2) @@ -5381,6 +9421,30 @@ namespace OpenTK.Graphics Delegates.glMapGrid2d((Int32)un, (Double)u1, (Double)u2, (Int32)vn, (Double)v1, (Double)v2); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glMapGrid2f")] public static void MapGrid2(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2) @@ -5388,6 +9452,20 @@ namespace OpenTK.Graphics Delegates.glMapGrid2f((Int32)un, (Single)u1, (Single)u2, (Int32)vn, (Single)v1, (Single)v2); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glEvalCoord1d")] public static void EvalCoord1(Double u) @@ -5429,6 +9507,20 @@ namespace OpenTK.Graphics Delegates.glEvalCoord1dv((Double*)u); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glEvalCoord1f")] public static void EvalCoord1(Single u) @@ -5470,6 +9562,20 @@ namespace OpenTK.Graphics Delegates.glEvalCoord1fv((Single*)u); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glEvalCoord2d")] public static void EvalCoord2(Double u, Double v) @@ -5477,6 +9583,20 @@ namespace OpenTK.Graphics Delegates.glEvalCoord2d((Double)u, (Double)v); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glEvalCoord2dv")] public static void EvalCoord2(Double[] u) @@ -5490,6 +9610,20 @@ namespace OpenTK.Graphics } } + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// [AutoGenerated(Category = "Modeling", Version = "1.0", EntryPoint = "glEvalCoord2dv")] public static void EvalCoord2(ref Double u) @@ -5503,6 +9637,20 @@ namespace OpenTK.Graphics } } + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Modeling", Version = "1.0", EntryPoint = "glEvalCoord2dv")] public static @@ -5511,6 +9659,20 @@ namespace OpenTK.Graphics Delegates.glEvalCoord2dv((Double*)u); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glEvalCoord2f")] public static void EvalCoord2(Single u, Single v) @@ -5518,6 +9680,20 @@ namespace OpenTK.Graphics Delegates.glEvalCoord2f((Single)u, (Single)v); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glEvalCoord2fv")] public static void EvalCoord2(Single[] u) @@ -5531,6 +9707,20 @@ namespace OpenTK.Graphics } } + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// [AutoGenerated(Category = "Modeling", Version = "1.0", EntryPoint = "glEvalCoord2fv")] public static void EvalCoord2(ref Single u) @@ -5544,6 +9734,20 @@ namespace OpenTK.Graphics } } + + /// + /// Evaluate enabled one- and two-dimensional maps + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap1 or glMap2 command. + /// + /// + /// + /// + /// Specifies a value that is the domain coordinate to the basis function defined in a previous glMap2 command. This argument is not present in a glEvalCoord1 command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Modeling", Version = "1.0", EntryPoint = "glEvalCoord2fv")] public static @@ -5552,6 +9756,20 @@ namespace OpenTK.Graphics Delegates.glEvalCoord2fv((Single*)u); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glEvalMesh1")] public static void EvalMesh1(OpenTK.Graphics.MeshMode1 mode, Int32 i1, Int32 i2) @@ -5559,6 +9777,20 @@ namespace OpenTK.Graphics Delegates.glEvalMesh1((OpenTK.Graphics.MeshMode1)mode, (Int32)i1, (Int32)i2); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glEvalPoint1")] public static void EvalPoint1(Int32 i) @@ -5566,6 +9798,20 @@ namespace OpenTK.Graphics Delegates.glEvalPoint1((Int32)i); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glEvalMesh2")] public static void EvalMesh2(OpenTK.Graphics.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2) @@ -5573,6 +9819,20 @@ namespace OpenTK.Graphics Delegates.glEvalMesh2((OpenTK.Graphics.MeshMode2)mode, (Int32)i1, (Int32)i2, (Int32)j1, (Int32)j2); } + + /// + /// 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 = "Modeling", Version = "1.0", EntryPoint = "glEvalPoint2")] public static void EvalPoint2(Int32 i, Int32 j) @@ -5749,6 +10009,23 @@ namespace OpenTK.Graphics Delegates.glPixelZoom((Single)xfactor, (Single)yfactor); } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelTransferf")] public static void PixelTransfer(OpenTK.Graphics.PixelTransferParameter pname, Single param) @@ -5756,6 +10033,23 @@ namespace OpenTK.Graphics Delegates.glPixelTransferf((OpenTK.Graphics.PixelTransferParameter)pname, (Single)param); } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelTransferi")] public static void PixelTransfer(OpenTK.Graphics.PixelTransferParameter pname, Int32 param) @@ -5763,6 +10057,20 @@ namespace OpenTK.Graphics Delegates.glPixelTransferi((OpenTK.Graphics.PixelTransferParameter)pname, (Int32)param); } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelStoref")] public static void PixelStore(OpenTK.Graphics.PixelStoreParameter pname, Single param) @@ -5770,6 +10078,20 @@ namespace OpenTK.Graphics Delegates.glPixelStoref((OpenTK.Graphics.PixelStoreParameter)pname, (Single)param); } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelStorei")] public static void PixelStore(OpenTK.Graphics.PixelStoreParameter pname, Int32 param) @@ -5777,6 +10099,25 @@ namespace OpenTK.Graphics Delegates.glPixelStorei((OpenTK.Graphics.PixelStoreParameter)pname, (Int32)param); } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapfv")] public static void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Single[] values) @@ -5790,6 +10131,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapfv")] public static void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Single values) @@ -5803,6 +10163,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapfv")] public static @@ -5811,6 +10190,25 @@ namespace OpenTK.Graphics Delegates.glPixelMapfv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (Single*)values); } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static @@ -5825,6 +10223,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int32[] values) @@ -5838,6 +10255,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static @@ -5852,6 +10288,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int32 values) @@ -5865,6 +10320,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static @@ -5873,6 +10347,25 @@ namespace OpenTK.Graphics Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values); } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapuiv")] public static @@ -5881,6 +10374,25 @@ namespace OpenTK.Graphics Delegates.glPixelMapuiv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt32*)values); } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapusv")] public static @@ -5895,6 +10407,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapusv")] public static void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, Int16[] values) @@ -5908,6 +10439,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapusv")] public static @@ -5922,6 +10472,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapusv")] public static void PixelMap(OpenTK.Graphics.PixelMap map, Int32 mapsize, ref Int16 values) @@ -5935,6 +10504,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapusv")] public static @@ -5943,6 +10531,25 @@ namespace OpenTK.Graphics Delegates.glPixelMapusv((OpenTK.Graphics.PixelMap)map, (Int32)mapsize, (UInt16*)values); } + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glPixelMapusv")] public static @@ -6063,11 +10670,156 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "PixelRw", Version = "1.0", EntryPoint = "glReadPixels")] public static - void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) + where T6 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// 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_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, or GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "PixelRw", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) + where T6 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// 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_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, or GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "PixelRw", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) + where T6 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// 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_COLOR_INDEX, GL_STENCIL_INDEX, GL_DEPTH_COMPONENT, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. Must be one of GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, or GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the pixel data. + /// + /// + [AutoGenerated(Category = "PixelRw", Version = "1.0", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) + where T6 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -6139,11 +10891,141 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "PixelRw", Version = "1.0", EntryPoint = "glDrawPixels")] public static - void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 pixels) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] pixels) + where T4 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] pixels) + where T4 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// 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 = "PixelRw", Version = "1.0", EntryPoint = "glDrawPixels")] + public static + void DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] pixels) + where T4 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -6348,6 +11230,25 @@ namespace OpenTK.Graphics Delegates.glGetIntegerv((OpenTK.Graphics.GetPName)pname, (Int32*)@params); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetLightfv")] public static void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Single[] @params) @@ -6361,6 +11262,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetLightfv")] public static void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] out Single @params) @@ -6375,6 +11295,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetLightfv")] public static @@ -6383,6 +11322,25 @@ namespace OpenTK.Graphics Delegates.glGetLightfv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Single*)@params); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetLightiv")] public static void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] Int32[] @params) @@ -6396,6 +11354,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetLightiv")] public static void GetLight(OpenTK.Graphics.LightName light, OpenTK.Graphics.LightParameter pname, [Out] out Int32 @params) @@ -6410,6 +11387,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetLightiv")] public static @@ -6418,6 +11414,25 @@ namespace OpenTK.Graphics Delegates.glGetLightiv((OpenTK.Graphics.LightName)light, (OpenTK.Graphics.LightParameter)pname, (Int32*)@params); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetMapdv")] public static void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Double[] v) @@ -6431,6 +11446,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetMapdv")] public static void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Double v) @@ -6445,6 +11479,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetMapdv")] public static @@ -6453,6 +11506,25 @@ namespace OpenTK.Graphics Delegates.glGetMapdv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Double*)v); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetMapfv")] public static void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Single[] v) @@ -6466,6 +11538,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetMapfv")] public static void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Single v) @@ -6480,6 +11571,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetMapfv")] public static @@ -6488,6 +11598,25 @@ namespace OpenTK.Graphics Delegates.glGetMapfv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Single*)v); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetMapiv")] public static void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] Int32[] v) @@ -6501,6 +11630,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetMapiv")] public static void GetMap(OpenTK.Graphics.MapTarget target, OpenTK.Graphics.GetMapQuery query, [Out] out Int32 v) @@ -6515,6 +11663,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return evaluator parameters + /// + /// + /// + /// Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4. + /// + /// + /// + /// + /// Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetMapiv")] public static @@ -6523,6 +11690,25 @@ namespace OpenTK.Graphics Delegates.glGetMapiv((OpenTK.Graphics.MapTarget)target, (OpenTK.Graphics.GetMapQuery)query, (Int32*)v); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetMaterialfv")] public static void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Single[] @params) @@ -6536,6 +11722,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetMaterialfv")] public static void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Single @params) @@ -6550,6 +11755,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetMaterialfv")] public static @@ -6558,6 +11782,25 @@ namespace OpenTK.Graphics Delegates.glGetMaterialfv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Single*)@params); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetMaterialiv")] public static void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] Int32[] @params) @@ -6571,6 +11814,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetMaterialiv")] public static void GetMaterial(OpenTK.Graphics.MaterialFace face, OpenTK.Graphics.MaterialParameter pname, [Out] out Int32 @params) @@ -6585,6 +11847,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetMaterialiv")] public static @@ -6593,6 +11874,20 @@ namespace OpenTK.Graphics Delegates.glGetMaterialiv((OpenTK.Graphics.MaterialFace)face, (OpenTK.Graphics.MaterialParameter)pname, (Int32*)@params); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapfv")] public static void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Single[] values) @@ -6606,6 +11901,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapfv")] public static void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Single values) @@ -6620,6 +11929,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapfv")] public static @@ -6628,6 +11951,20 @@ namespace OpenTK.Graphics Delegates.glGetPixelMapfv((OpenTK.Graphics.PixelMap)map, (Single*)values); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] public static @@ -6642,6 +11979,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] public static void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int32[] values) @@ -6655,6 +12006,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] public static @@ -6670,6 +12035,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] public static void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Int32 values) @@ -6684,6 +12063,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] public static @@ -6692,6 +12085,20 @@ namespace OpenTK.Graphics Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapuiv")] public static @@ -6700,6 +12107,20 @@ namespace OpenTK.Graphics Delegates.glGetPixelMapuiv((OpenTK.Graphics.PixelMap)map, (UInt32*)values); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static @@ -6714,6 +12135,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] Int16[] values) @@ -6727,6 +12162,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static @@ -6742,6 +12191,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static void GetPixelMap(OpenTK.Graphics.PixelMap map, [Out] out Int16 values) @@ -6756,6 +12219,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static @@ -6764,6 +12241,20 @@ namespace OpenTK.Graphics Delegates.glGetPixelMapusv((OpenTK.Graphics.PixelMap)map, (UInt16*)values); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetPixelMapusv")] public static @@ -6853,6 +12344,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexEnvfv")] public static void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Single[] @params) @@ -6866,6 +12376,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexEnvfv")] public static void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Single @params) @@ -6880,6 +12409,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexEnvfv")] public static @@ -6888,6 +12436,25 @@ namespace OpenTK.Graphics Delegates.glGetTexEnvfv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Single*)@params); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexEnviv")] public static void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] Int32[] @params) @@ -6901,6 +12468,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexEnviv")] public static void GetTexEnv(OpenTK.Graphics.TextureEnvTarget target, OpenTK.Graphics.TextureEnvParameter pname, [Out] out Int32 @params) @@ -6915,6 +12501,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexEnviv")] public static @@ -6923,6 +12528,25 @@ namespace OpenTK.Graphics Delegates.glGetTexEnviv((OpenTK.Graphics.TextureEnvTarget)target, (OpenTK.Graphics.TextureEnvParameter)pname, (Int32*)@params); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexGendv")] public static void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Double[] @params) @@ -6936,6 +12560,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexGendv")] public static void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Double @params) @@ -6950,6 +12593,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexGendv")] public static @@ -6958,6 +12620,25 @@ namespace OpenTK.Graphics Delegates.glGetTexGendv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Double*)@params); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexGenfv")] public static void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Single[] @params) @@ -6971,6 +12652,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexGenfv")] public static void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Single @params) @@ -6985,6 +12685,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexGenfv")] public static @@ -6993,6 +12712,25 @@ namespace OpenTK.Graphics Delegates.glGetTexGenfv((OpenTK.Graphics.TextureCoordName)coord, (OpenTK.Graphics.TextureGenParameter)pname, (Single*)@params); } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexGeniv")] public static void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] Int32[] @params) @@ -7006,6 +12744,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexGeniv")] public static void GetTexGen(OpenTK.Graphics.TextureCoordName coord, OpenTK.Graphics.TextureGenParameter pname, [Out] out Int32 @params) @@ -7020,6 +12777,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "StateReq", Version = "1.0", EntryPoint = "glGetTexGeniv")] public static @@ -7098,11 +12874,12 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexImage")] public static - void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 pixels) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -7114,6 +12891,169 @@ namespace OpenTK.Graphics } } + + /// + /// Return a texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies a pixel format for the returned data. The supported formats are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the texture image. Should be a pointer to an array of the type specified by type. + /// + /// + [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexImage")] + public static + void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] pixels) + where T4 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Return a texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies a pixel format for the returned data. The supported formats are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the texture image. Should be a pointer to an array of the type specified by type. + /// + /// + [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexImage")] + public static + void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] pixels) + where T4 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Return a texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies a pixel format for the returned data. The supported formats are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies a pixel type for the returned data. The supported types are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Returns the texture image. Should be a pointer to an array of the type specified by type. + /// + /// + [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexImage")] + public static + void GetTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] pixels) + where T4 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexParameterfv")] public static void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) @@ -7127,6 +13067,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexParameterfv")] public static void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) @@ -7141,6 +13100,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexParameterfv")] public static @@ -7149,6 +13127,25 @@ namespace OpenTK.Graphics Delegates.glGetTexParameterfv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); } + + /// + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexParameteriv")] public static void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) @@ -7162,6 +13159,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexParameteriv")] public static void GetTexParameter(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) @@ -7176,6 +13192,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return texture parameter values + /// + /// + /// + /// Specifies the symbolic name of the target texture. GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, and GL_TEXTURE_CUBE_MAP are accepted. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE_WRAP_R, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_PRIORITY, GL_TEXTURE_RESIDENT, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_COMPARE_FUNC, GL_DEPTH_TEXTURE_MODE, and GL_GENERATE_MIPMAP are accepted. + /// + /// + /// + /// + /// Returns the texture parameters. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexParameteriv")] public static @@ -7184,6 +13219,30 @@ namespace OpenTK.Graphics Delegates.glGetTexParameteriv((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.GetTextureParameter)pname, (Int32*)@params); } + + /// + /// Return texture parameter values for a specific level of detail + /// + /// + /// + /// Specifies the symbolic name of the target texture, either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] public static void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Single[] @params) @@ -7197,6 +13256,30 @@ namespace OpenTK.Graphics } } + + /// + /// Return texture parameter values for a specific level of detail + /// + /// + /// + /// Specifies the symbolic name of the target texture, either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] public static void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Single @params) @@ -7211,6 +13294,30 @@ namespace OpenTK.Graphics } } + + /// + /// Return texture parameter values for a specific level of detail + /// + /// + /// + /// Specifies the symbolic name of the target texture, either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexLevelParameterfv")] public static @@ -7219,6 +13326,30 @@ namespace OpenTK.Graphics Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.GetTextureParameter)pname, (Single*)@params); } + + /// + /// Return texture parameter values for a specific level of detail + /// + /// + /// + /// Specifies the symbolic name of the target texture, either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] public static void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] Int32[] @params) @@ -7232,6 +13363,30 @@ namespace OpenTK.Graphics } } + + /// + /// Return texture parameter values for a specific level of detail + /// + /// + /// + /// Specifies the symbolic name of the target texture, either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] public static void GetTexLevelParameter(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.GetTextureParameter pname, [Out] out Int32 @params) @@ -7246,6 +13401,30 @@ namespace OpenTK.Graphics } } + + /// + /// Return texture parameter values for a specific level of detail + /// + /// + /// + /// Specifies the symbolic name of the target texture, either GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_PROXY_TEXTURE_3D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the symbolic name of a texture parameter. GL_TEXTURE_WIDTH, GL_TEXTURE_HEIGHT, GL_TEXTURE_DEPTH, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_BORDER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_LUMINANCE_SIZE, GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_COMPRESSED, and GL_TEXTURE_COMPRESSED_IMAGE_SIZE are accepted. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "StateReq", Version = "1.0", EntryPoint = "glGetTexLevelParameteriv")] public static @@ -7361,6 +13540,15 @@ namespace OpenTK.Graphics Delegates.glLoadIdentity(); } + + /// + /// 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 = "Xform", Version = "1.0", EntryPoint = "glLoadMatrixf")] public static void LoadMatrix(Single[] m) @@ -7374,6 +13562,15 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Xform", Version = "1.0", EntryPoint = "glLoadMatrixf")] public static void LoadMatrix(ref Single m) @@ -7387,6 +13584,15 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Xform", Version = "1.0", EntryPoint = "glLoadMatrixf")] public static @@ -7395,6 +13601,15 @@ namespace OpenTK.Graphics Delegates.glLoadMatrixf((Single*)m); } + + /// + /// 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 = "Xform", Version = "1.0", EntryPoint = "glLoadMatrixd")] public static void LoadMatrix(Double[] m) @@ -7408,6 +13623,15 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Xform", Version = "1.0", EntryPoint = "glLoadMatrixd")] public static void LoadMatrix(ref Double m) @@ -7421,6 +13645,15 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Xform", Version = "1.0", EntryPoint = "glLoadMatrixd")] public static @@ -7445,6 +13678,15 @@ namespace OpenTK.Graphics Delegates.glMatrixMode((OpenTK.Graphics.MatrixMode)mode); } + + /// + /// 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 = "Xform", Version = "1.0", EntryPoint = "glMultMatrixf")] public static void MultMatrix(Single[] m) @@ -7458,6 +13700,15 @@ namespace OpenTK.Graphics } } + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// [AutoGenerated(Category = "Xform", Version = "1.0", EntryPoint = "glMultMatrixf")] public static void MultMatrix(ref Single m) @@ -7471,6 +13722,15 @@ namespace OpenTK.Graphics } } + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Xform", Version = "1.0", EntryPoint = "glMultMatrixf")] public static @@ -7479,6 +13739,15 @@ namespace OpenTK.Graphics Delegates.glMultMatrixf((Single*)m); } + + /// + /// 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 = "Xform", Version = "1.0", EntryPoint = "glMultMatrixd")] public static void MultMatrix(Double[] m) @@ -7492,6 +13761,15 @@ namespace OpenTK.Graphics } } + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// [AutoGenerated(Category = "Xform", Version = "1.0", EntryPoint = "glMultMatrixd")] public static void MultMatrix(ref Double m) @@ -7505,6 +13783,15 @@ namespace OpenTK.Graphics } } + + /// + /// Multiply the current matrix with the specified matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 column-major matrix. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Xform", Version = "1.0", EntryPoint = "glMultMatrixd")] public static @@ -7557,6 +13844,20 @@ namespace OpenTK.Graphics Delegates.glPushMatrix(); } + + /// + /// 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 = "Xform", Version = "1.0", EntryPoint = "glRotated")] public static void Rotate(Double angle, Double x, Double y, Double z) @@ -7564,6 +13865,20 @@ namespace OpenTK.Graphics Delegates.glRotated((Double)angle, (Double)x, (Double)y, (Double)z); } + + /// + /// 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 = "Xform", Version = "1.0", EntryPoint = "glRotatef")] public static void Rotate(Single angle, Single x, Single y, Single z) @@ -7571,6 +13886,15 @@ namespace OpenTK.Graphics Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z); } + + /// + /// Multiply the current matrix by a general scaling matrix + /// + /// + /// + /// Specify scale factors along the x, y, and z axes, respectively. + /// + /// [AutoGenerated(Category = "Xform", Version = "1.0", EntryPoint = "glScaled")] public static void Scale(Double x, Double y, Double z) @@ -7578,6 +13902,15 @@ namespace OpenTK.Graphics Delegates.glScaled((Double)x, (Double)y, (Double)z); } + + /// + /// Multiply the current matrix by a general scaling matrix + /// + /// + /// + /// Specify scale factors along the x, y, and z axes, respectively. + /// + /// [AutoGenerated(Category = "Xform", Version = "1.0", EntryPoint = "glScalef")] public static void Scale(Single x, Single y, Single z) @@ -7585,6 +13918,15 @@ namespace OpenTK.Graphics Delegates.glScalef((Single)x, (Single)y, (Single)z); } + + /// + /// Multiply the current matrix by a translation matrix + /// + /// + /// + /// Specify the x, y, and z coordinates of a translation vector. + /// + /// [AutoGenerated(Category = "Xform", Version = "1.0", EntryPoint = "glTranslated")] public static void Translate(Double x, Double y, Double z) @@ -7592,6 +13934,15 @@ namespace OpenTK.Graphics Delegates.glTranslated((Double)x, (Double)y, (Double)z); } + + /// + /// Multiply the current matrix by a translation matrix + /// + /// + /// + /// Specify the x, y, and z coordinates of a translation vector. + /// + /// [AutoGenerated(Category = "Xform", Version = "1.0", EntryPoint = "glTranslatef")] public static void Translate(Single x, Single y, Single z) @@ -7696,11 +14047,141 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glColorPointer")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] object pointer) + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glColorPointer")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -7805,11 +14286,141 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glDrawElements")] public static - void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices) + void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the 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 = "11", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices) + where T3 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the 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 = "11", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices) + where T3 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the 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 = "11", Version = "1.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices) + where T3 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); @@ -7861,11 +14472,111 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] public static - void EdgeFlagPointer(Int32 stride, [In, Out] object pointer) + void EdgeFlagPointer(Int32 stride, [In, Out] ref T1 pointer) + where T1 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, [In, Out] T1[] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, [In, Out] T1[,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glEdgeFlagPointer")] + public static + void EdgeFlagPointer(Int32 stride, [In, Out] T1[,,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -7933,11 +14644,111 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glGetPointerv")] public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] object @params) + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] ref T1 @params) + where T1 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[] @params) + where T1 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,] @params) + where T1 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glGetPointerv")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,,] @params) + where T1 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { Delegates.glGetPointerv((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); @@ -7999,11 +14810,126 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glIndexPointer")] public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] object pointer) + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glIndexPointer")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glIndexPointer((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -8055,11 +14981,111 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glInterleavedArrays")] public static - void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] object pointer) + void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glInterleavedArrays")] + public static + void InterleavedArrays(OpenTK.Graphics.InterleavedArrayFormat format, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glInterleavedArrays((OpenTK.Graphics.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -8121,11 +15147,126 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glNormalPointer")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] object pointer) + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glNormalPointer")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glNormalPointer((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -8197,11 +15338,141 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glTexCoordPointer")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] object pointer) + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glTexCoordPointer")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -8273,11 +15544,141 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glVertexPointer")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] object pointer) + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "11", Version = "1.1", EntryPoint = "glVertexPointer")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -8569,11 +15970,186 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glTexSubImage1D")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) + where T6 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) + where T6 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) + where T6 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glTexSubImage1D")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) + where T6 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -8695,11 +16271,216 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glTexSubImage2D")] public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -9477,6 +17258,18 @@ namespace OpenTK.Graphics Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); } + + /// + /// Set the current color index + /// + /// + /// + /// Specifies the new value for the current color index. + /// + /// + /// + /// + /// [AutoGenerated(Category = "11", Version = "1.1", EntryPoint = "glIndexub")] public static void Index(Byte c) @@ -9699,11 +17492,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices) + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); @@ -9751,11 +17545,333 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices) + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + where T5 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + where T5 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) + where T5 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) + where T5 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) + where T5 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) + where T5 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glDrawRangeElements((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); @@ -9847,11 +17963,12 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTable")] public static - void ColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object table) + void ColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { Delegates.glColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); @@ -9863,6 +17980,184 @@ namespace OpenTK.Graphics } } + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) + where T5 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) + where T5 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glColorTable")] + public static + void ColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) + where T5 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glColorTableParameterfv")] public static void ColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Single[] @params) @@ -9876,6 +18171,25 @@ namespace OpenTK.Graphics } } + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTableParameterfv")] public static void ColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, ref Single @params) @@ -9889,6 +18203,25 @@ namespace OpenTK.Graphics } } + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTableParameterfv")] public static @@ -9897,6 +18230,25 @@ namespace OpenTK.Graphics Delegates.glColorTableParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params); } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glColorTableParameteriv")] public static void ColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Int32[] @params) @@ -9910,6 +18262,25 @@ namespace OpenTK.Graphics } } + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTableParameteriv")] public static void ColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, ref Int32 @params) @@ -9923,6 +18294,25 @@ namespace OpenTK.Graphics } } + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorTableParameteriv")] public static @@ -10027,11 +18417,12 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTable")] public static - void GetColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object table) + void GetColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 table) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { Delegates.glGetColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); @@ -10043,6 +18434,154 @@ namespace OpenTK.Graphics } } + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] table) + where T3 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] table) + where T3 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetColorTable")] + public static + void GetColorTable(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] table) + where T3 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTable((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] public static void GetColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Single[] @params) @@ -10056,6 +18595,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] public static void GetColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] out Single @params) @@ -10070,6 +18628,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTableParameterfv")] public static @@ -10078,6 +18655,25 @@ namespace OpenTK.Graphics Delegates.glGetColorTableParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params); } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] public static void GetColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Int32[] @params) @@ -10091,6 +18687,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] public static void GetColorTableParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] out Int32 @params) @@ -10105,6 +18720,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetColorTableParameteriv")] public static @@ -10193,11 +18827,171 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glColorSubTable")] public static - void ColorSubTable(OpenTK.Graphics.Version12 target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object data) + void ColorSubTable(OpenTK.Graphics.Version12 target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 data) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTable((OpenTK.Graphics.Version12)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.Version12 target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] data) + where T5 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTable((OpenTK.Graphics.Version12)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.Version12 target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] data) + where T5 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTable((OpenTK.Graphics.Version12)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glColorSubTable")] + public static + void ColorSubTable(OpenTK.Graphics.Version12 target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] data) + where T5 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glColorSubTable((OpenTK.Graphics.Version12)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -10320,11 +19114,171 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] public static - void ConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object image) + void ConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 image) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] image) + where T5 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] image) + where T5 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter1D")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] image) + where T5 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { Delegates.glConvolutionFilter1D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); @@ -10426,11 +19380,12 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] public static - void ConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object image) + void ConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 image) + where T6 : struct { unsafe { - System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { Delegates.glConvolutionFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); @@ -10442,6 +19397,202 @@ namespace OpenTK.Graphics } } + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] image) + where T6 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] image) + where T6 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glConvolutionFilter2D")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] image) + where T6 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glConvolutionParameterf")] public static void ConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Single @params) @@ -10483,6 +19634,28 @@ namespace OpenTK.Graphics Delegates.glConvolutionParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params); } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glConvolutionParameteri")] public static void ConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, Int32 @params) @@ -10651,11 +19824,12 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] public static - void GetConvolutionFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object image) + void GetConvolutionFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 image) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { Delegates.glGetConvolutionFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); @@ -10667,6 +19841,154 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] image) + where T3 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] image) + where T3 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionFilter")] + public static + void GetConvolutionFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] image) + where T3 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] public static void GetConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Single[] @params) @@ -10680,6 +20002,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] public static void GetConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] out Single @params) @@ -10694,6 +20035,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionParameterfv")] public static @@ -10702,6 +20062,25 @@ namespace OpenTK.Graphics Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params); } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] public static void GetConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Int32[] @params) @@ -10715,6 +20094,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] public static void GetConvolutionParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] out Int32 @params) @@ -10729,6 +20127,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetConvolutionParameteriv")] public static @@ -10817,13 +20234,629 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetSeparableFilter")] public static - void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object row, [In, Out] object column, [In, Out] object span) + void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) + where T5 : struct + { + unsafe + { + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) + where T5 : struct + { + unsafe + { + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) + where T5 : struct + { + unsafe + { + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] ref T4 column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + unsafe + { + 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.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + unsafe + { + 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.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + unsafe + { + 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.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetSeparableFilter")] + public static + void GetSeparableFilter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + unsafe + { + 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.Version12)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); @@ -10937,12 +20970,464 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glSeparableFilter2D")] public static - void SeparableFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object row, [In, Out] object column) + void SeparableFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] ref T7 column) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[] column) + where T7 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,] column) + where T7 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,,] column) + where T7 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct + { + unsafe + { + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct + { + unsafe + { + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct + { + unsafe + { + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glSeparableFilter2D")] + public static + void SeparableFilter2D(OpenTK.Graphics.Version12 target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct + { + unsafe + { + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { Delegates.glSeparableFilter2D((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); @@ -11025,11 +21510,12 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetHistogram")] public static - void GetHistogram(OpenTK.Graphics.Version12 target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object values) + void GetHistogram(OpenTK.Graphics.Version12 target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { Delegates.glGetHistogram((OpenTK.Graphics.Version12)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); @@ -11041,6 +21527,169 @@ namespace OpenTK.Graphics } } + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.Version12 target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) + where T4 : struct + { + unsafe + { + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogram((OpenTK.Graphics.Version12)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.Version12 target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) + where T4 : struct + { + unsafe + { + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogram((OpenTK.Graphics.Version12)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetHistogram")] + public static + void GetHistogram(OpenTK.Graphics.Version12 target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) + where T4 : struct + { + unsafe + { + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogram((OpenTK.Graphics.Version12)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] public static void GetHistogramParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Single[] @params) @@ -11054,6 +21703,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] public static void GetHistogramParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] out Single @params) @@ -11068,6 +21736,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetHistogramParameterfv")] public static @@ -11076,6 +21763,25 @@ namespace OpenTK.Graphics Delegates.glGetHistogramParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params); } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] public static void GetHistogramParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Int32[] @params) @@ -11089,6 +21795,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] public static void GetHistogramParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] out Int32 @params) @@ -11103,6 +21828,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetHistogramParameteriv")] public static @@ -11181,11 +21925,12 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glGetMinmax")] public static - void GetMinmax(OpenTK.Graphics.Version12 target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object values) + void GetMinmax(OpenTK.Graphics.Version12 target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { Delegates.glGetMinmax((OpenTK.Graphics.Version12)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); @@ -11197,6 +21942,169 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.Version12 target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) + where T4 : struct + { + unsafe + { + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((OpenTK.Graphics.Version12)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.Version12 target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) + where T4 : struct + { + unsafe + { + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((OpenTK.Graphics.Version12)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetMinmax")] + public static + void GetMinmax(OpenTK.Graphics.Version12 target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) + where T4 : struct + { + unsafe + { + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmax((OpenTK.Graphics.Version12)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] public static void GetMinmaxParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Single[] @params) @@ -11210,6 +22118,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] public static void GetMinmaxParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] out Single @params) @@ -11224,6 +22151,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetMinmaxParameterfv")] public static @@ -11232,6 +22178,25 @@ namespace OpenTK.Graphics Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.Version12)target, (OpenTK.Graphics.Version12)pname, (Single*)@params); } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] public static void GetMinmaxParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] Int32[] @params) @@ -11245,6 +22210,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] public static void GetMinmaxParameter(OpenTK.Graphics.Version12 target, OpenTK.Graphics.Version12 pname, [Out] out Int32 @params) @@ -11259,6 +22243,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version12", Version = "1.2", EntryPoint = "glGetMinmaxParameteriv")] public static @@ -11476,11 +22479,231 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -11622,11 +22845,246 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "Version12", Version = "1.2", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -11721,6 +23179,20 @@ namespace OpenTK.Graphics Delegates.glClientActiveTexture((OpenTK.Graphics.TextureUnit)texture); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord1d")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double s) @@ -11762,6 +23234,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord1dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord1f")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single s) @@ -11803,6 +23289,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord1fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord1i")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32 s) @@ -11844,6 +23344,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord1iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord1s")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16 s) @@ -11885,6 +23399,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord1sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2d")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double s, Double t) @@ -11892,6 +23420,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double[] v) @@ -11905,6 +23447,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Double v) @@ -11918,6 +23474,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2dv")] public static @@ -11926,6 +23496,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2f")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single s, Single t) @@ -11933,6 +23517,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single[] v) @@ -11946,6 +23544,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Single v) @@ -11959,6 +23571,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2fv")] public static @@ -11967,6 +23593,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2i")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t) @@ -11974,6 +23614,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32[] v) @@ -11987,6 +23641,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int32 v) @@ -12000,6 +23668,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2iv")] public static @@ -12008,6 +23690,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2s")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t) @@ -12015,6 +23711,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16[] v) @@ -12028,6 +23738,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int16 v) @@ -12041,6 +23765,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord2sv")] public static @@ -12049,6 +23787,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3d")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r) @@ -12056,6 +23808,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double[] v) @@ -12069,6 +23835,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Double v) @@ -12082,6 +23862,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3dv")] public static @@ -12090,6 +23884,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3f")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r) @@ -12097,6 +23905,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single[] v) @@ -12110,6 +23932,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Single v) @@ -12123,6 +23959,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3fv")] public static @@ -12131,6 +23981,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3i")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r) @@ -12138,6 +24002,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32[] v) @@ -12151,6 +24029,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int32 v) @@ -12164,6 +24056,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3iv")] public static @@ -12172,6 +24078,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3s")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r) @@ -12179,6 +24099,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16[] v) @@ -12192,6 +24126,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int16 v) @@ -12205,6 +24153,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord3sv")] public static @@ -12213,6 +24175,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4d")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q) @@ -12220,6 +24196,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4d((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double[] v) @@ -12233,6 +24223,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Double v) @@ -12246,6 +24250,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4dv")] public static @@ -12254,6 +24272,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4dv((OpenTK.Graphics.TextureUnit)target, (Double*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4f")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q) @@ -12261,6 +24293,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4f((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single[] v) @@ -12274,6 +24320,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Single v) @@ -12287,6 +24347,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4fv")] public static @@ -12295,6 +24369,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4fv((OpenTK.Graphics.TextureUnit)target, (Single*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4i")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) @@ -12302,6 +24390,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4i((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32[] v) @@ -12315,6 +24417,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int32 v) @@ -12328,6 +24444,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4iv")] public static @@ -12336,6 +24466,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4iv((OpenTK.Graphics.TextureUnit)target, (Int32*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4s")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) @@ -12343,6 +24487,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4s((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16[] v) @@ -12356,6 +24514,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int16 v) @@ -12369,6 +24541,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultiTexCoord4sv")] public static @@ -12377,6 +24563,15 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4sv((OpenTK.Graphics.TextureUnit)target, (Int16*)v); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] public static void LoadTransposeMatrix(Single[] m) @@ -12390,6 +24585,15 @@ namespace OpenTK.Graphics } } + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] public static void LoadTransposeMatrix(ref Single m) @@ -12403,6 +24607,15 @@ namespace OpenTK.Graphics } } + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glLoadTransposeMatrixf")] public static @@ -12411,6 +24624,15 @@ namespace OpenTK.Graphics Delegates.glLoadTransposeMatrixf((Single*)m); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] public static void LoadTransposeMatrix(Double[] m) @@ -12424,6 +24646,15 @@ namespace OpenTK.Graphics } } + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] public static void LoadTransposeMatrix(ref Double m) @@ -12437,6 +24668,15 @@ namespace OpenTK.Graphics } } + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glLoadTransposeMatrixd")] public static @@ -12445,6 +24685,15 @@ namespace OpenTK.Graphics Delegates.glLoadTransposeMatrixd((Double*)m); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] public static void MultTransposeMatrix(Single[] m) @@ -12458,6 +24707,15 @@ namespace OpenTK.Graphics } } + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] public static void MultTransposeMatrix(ref Single m) @@ -12471,6 +24729,15 @@ namespace OpenTK.Graphics } } + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultTransposeMatrixf")] public static @@ -12479,6 +24746,15 @@ namespace OpenTK.Graphics Delegates.glMultTransposeMatrixf((Single*)m); } + + /// + /// 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 = "Version13", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] public static void MultTransposeMatrix(Double[] m) @@ -12492,6 +24768,15 @@ namespace OpenTK.Graphics } } + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] public static void MultTransposeMatrix(ref Double m) @@ -12505,6 +24790,15 @@ namespace OpenTK.Graphics } } + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glMultTransposeMatrixd")] public static @@ -12644,11 +24938,216 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] object data) + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T8 data) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) + where T8 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,] data) + where T8 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) + where T8 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glCompressedTexImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -12760,11 +25259,201 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] object data) + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) + where T7 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data) + where T7 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data) + where T7 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glCompressedTexImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -12866,11 +25555,186 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] object data) + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data) + where T6 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data) + where T6 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) + where T6 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexImage1D")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data) + where T6 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glCompressedTexImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -13002,11 +25866,231 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object data) + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T10 data) + where T10 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[] data) + where T10 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,] data) + where T10 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data) + where T10 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -13128,11 +26212,216 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object data) + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T8 data) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[] data) + where T8 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,] data) + where T8 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data) + where T8 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -13234,11 +26523,186 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object data) + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T6 data) + where T6 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[] data) + where T6 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,] data) + where T6 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glCompressedTexSubImage1D")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,,] data) + where T6 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -13300,11 +26764,126 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] object img) + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] ref T2 img) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[] img) + where T2 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,] img) + where T2 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "Version13", Version = "1.3", EntryPoint = "glGetCompressedTexImage")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,,] img) + where T2 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); try { Delegates.glGetCompressedTexImage((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); @@ -13347,6 +26926,15 @@ namespace OpenTK.Graphics Delegates.glBlendFuncSeparate((OpenTK.Graphics.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.BlendingFactorDest)dfactorAlpha); } + + /// + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glFogCoordf")] public static void FogCoord(Single coord) @@ -13388,6 +26976,15 @@ namespace OpenTK.Graphics Delegates.glFogCoordfv((Single*)coord); } + + /// + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glFogCoordd")] public static void FogCoord(Double coord) @@ -13479,11 +27076,126 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glFogCoordPointer")] public static - void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] object pointer) + void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version14", Version = "1.4", EntryPoint = "glFogCoordPointer")] + public static + void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version14", Version = "1.4", EntryPoint = "glFogCoordPointer")] + public static + void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version14", Version = "1.4", EntryPoint = "glFogCoordPointer")] + public static + void FogCoordPointer(OpenTK.Graphics.FogPointerType type, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glFogCoordPointer((OpenTK.Graphics.FogPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -13678,13 +27390,167 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount) + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct { unsafe { fixed (Int32* count_ptr = count) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); @@ -13770,13 +27636,167 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount) + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct { unsafe { fixed (Int32* count_ptr = &count) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); @@ -13858,9 +27878,10 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount) + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); @@ -13871,6 +27892,158 @@ namespace OpenTK.Graphics } } + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glMultiDrawElements")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameterf")] public static void PointParameter(OpenTK.Graphics.PointParameterName pname, Single param) @@ -13912,6 +28085,20 @@ namespace OpenTK.Graphics Delegates.glPointParameterfv((OpenTK.Graphics.PointParameterName)pname, (Single*)@params); } + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glPointParameteri")] public static void PointParameter(OpenTK.Graphics.PointParameterName pname, Int32 param) @@ -13953,6 +28140,15 @@ namespace OpenTK.Graphics Delegates.glPointParameteriv((OpenTK.Graphics.PointParameterName)pname, (Int32*)@params); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3b")] public static @@ -13961,6 +28157,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] public static @@ -13975,6 +28180,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] public static @@ -13989,6 +28203,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3bv")] public static @@ -13997,6 +28220,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3bv((SByte*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3d")] public static void SecondaryColor3(Double red, Double green, Double blue) @@ -14004,6 +28236,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3d((Double)red, (Double)green, (Double)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] public static void SecondaryColor3(Double[] v) @@ -14017,6 +28258,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] public static void SecondaryColor3(ref Double v) @@ -14030,6 +28280,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3dv")] public static @@ -14038,6 +28297,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3dv((Double*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3f")] public static void SecondaryColor3(Single red, Single green, Single blue) @@ -14045,6 +28313,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3f((Single)red, (Single)green, (Single)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] public static void SecondaryColor3(Single[] v) @@ -14058,6 +28335,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] public static void SecondaryColor3(ref Single v) @@ -14071,6 +28357,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3fv")] public static @@ -14079,6 +28374,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3fv((Single*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3i")] public static void SecondaryColor3(Int32 red, Int32 green, Int32 blue) @@ -14086,6 +28390,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3i((Int32)red, (Int32)green, (Int32)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] public static void SecondaryColor3(Int32[] v) @@ -14099,6 +28412,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] public static void SecondaryColor3(ref Int32 v) @@ -14112,6 +28434,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3iv")] public static @@ -14120,6 +28451,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3iv((Int32*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3s")] public static void SecondaryColor3(Int16 red, Int16 green, Int16 blue) @@ -14127,6 +28467,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3s((Int16)red, (Int16)green, (Int16)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] public static void SecondaryColor3(Int16[] v) @@ -14140,6 +28489,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] public static void SecondaryColor3(ref Int16 v) @@ -14153,6 +28511,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3sv")] public static @@ -14161,6 +28528,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3sv((Int16*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3ub")] public static void SecondaryColor3(Byte red, Byte green, Byte blue) @@ -14168,6 +28544,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3ub((Byte)red, (Byte)green, (Byte)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] public static void SecondaryColor3(Byte[] v) @@ -14181,6 +28566,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] public static void SecondaryColor3(ref Byte v) @@ -14194,6 +28588,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3ubv")] public static @@ -14202,6 +28605,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3ubv((Byte*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3ui")] public static @@ -14210,6 +28622,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] public static @@ -14224,6 +28645,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] public static @@ -14238,6 +28668,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3uiv")] public static @@ -14246,6 +28685,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3uiv((UInt32*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3us")] public static @@ -14254,6 +28702,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3us((UInt16)red, (UInt16)green, (UInt16)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] public static @@ -14268,6 +28725,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] public static @@ -14282,6 +28748,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColor3usv")] public static @@ -14350,11 +28825,12 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] object pointer) + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -14366,6 +28842,144 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version14", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "Version14", Version = "1.4", EntryPoint = "glSecondaryColorPointer")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2d")] public static void WindowPos2(Double x, Double y) @@ -14373,6 +28987,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2d((Double)x, (Double)y); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2dv")] public static void WindowPos2(Double[] v) @@ -14386,6 +29009,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2dv")] public static void WindowPos2(ref Double v) @@ -14399,6 +29031,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2dv")] public static @@ -14407,6 +29048,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2dv((Double*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2f")] public static void WindowPos2(Single x, Single y) @@ -14414,6 +29064,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2f((Single)x, (Single)y); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2fv")] public static void WindowPos2(Single[] v) @@ -14427,6 +29086,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2fv")] public static void WindowPos2(ref Single v) @@ -14440,6 +29108,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2fv")] public static @@ -14448,6 +29125,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2fv((Single*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2i")] public static void WindowPos2(Int32 x, Int32 y) @@ -14455,6 +29141,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2i((Int32)x, (Int32)y); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2iv")] public static void WindowPos2(Int32[] v) @@ -14468,6 +29163,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2iv")] public static void WindowPos2(ref Int32 v) @@ -14481,6 +29185,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2iv")] public static @@ -14489,6 +29202,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2iv((Int32*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2s")] public static void WindowPos2(Int16 x, Int16 y) @@ -14496,6 +29218,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2s((Int16)x, (Int16)y); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2sv")] public static void WindowPos2(Int16[] v) @@ -14509,6 +29240,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2sv")] public static void WindowPos2(ref Int16 v) @@ -14522,6 +29262,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos2sv")] public static @@ -14530,6 +29279,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2sv((Int16*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3d")] public static void WindowPos3(Double x, Double y, Double z) @@ -14537,6 +29295,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3d((Double)x, (Double)y, (Double)z); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3dv")] public static void WindowPos3(Double[] v) @@ -14550,6 +29317,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3dv")] public static void WindowPos3(ref Double v) @@ -14563,6 +29339,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3dv")] public static @@ -14571,6 +29356,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3dv((Double*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3f")] public static void WindowPos3(Single x, Single y, Single z) @@ -14578,6 +29372,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3f((Single)x, (Single)y, (Single)z); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3fv")] public static void WindowPos3(Single[] v) @@ -14591,6 +29394,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3fv")] public static void WindowPos3(ref Single v) @@ -14604,6 +29416,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3fv")] public static @@ -14612,6 +29433,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3fv((Single*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3i")] public static void WindowPos3(Int32 x, Int32 y, Int32 z) @@ -14619,6 +29449,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3i((Int32)x, (Int32)y, (Int32)z); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3iv")] public static void WindowPos3(Int32[] v) @@ -14632,6 +29471,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3iv")] public static void WindowPos3(ref Int32 v) @@ -14645,6 +29493,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3iv")] public static @@ -14653,6 +29510,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3iv((Int32*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3s")] public static void WindowPos3(Int16 x, Int16 y, Int16 z) @@ -14660,6 +29526,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3s((Int16)x, (Int16)y, (Int16)z); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3sv")] public static void WindowPos3(Int16[] v) @@ -14673,6 +29548,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3sv")] public static void WindowPos3(ref Int16 v) @@ -14686,6 +29570,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version14", Version = "1.4", EntryPoint = "glWindowPos3sv")] public static @@ -15179,6 +30072,25 @@ namespace OpenTK.Graphics Delegates.glGetQueryiv((OpenTK.Graphics.QueryTarget)target, (OpenTK.Graphics.GetQueryParam)pname, (Int32*)@params); } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] public static @@ -15193,6 +30105,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] Int32[] @params) @@ -15206,6 +30137,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] public static @@ -15221,6 +30171,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.GetQueryObjectParam pname, [Out] out Int32 @params) @@ -15235,6 +30204,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] public static @@ -15243,6 +30231,25 @@ namespace OpenTK.Graphics Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params); } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectiv")] public static @@ -15251,6 +30258,25 @@ namespace OpenTK.Graphics Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.GetQueryObjectParam)pname, (Int32*)@params); } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] public static @@ -15265,6 +30291,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] public static @@ -15280,6 +30325,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetQueryObjectuiv")] public static @@ -15734,11 +30798,141 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] public static - void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] object data, OpenTK.Graphics.BufferUsageHint usage) + void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.BufferUsageHint usage) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.BufferUsageHint usage) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.BufferUsageHint usage) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.BufferTarget target, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.BufferUsageHint usage) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glBufferData((OpenTK.Graphics.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageHint)usage); @@ -15810,11 +31004,141 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] public static - void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] object data) + void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -15886,11 +31210,141 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] public static - void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] object data) + void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferSubData")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTarget target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glGetBufferSubData((OpenTK.Graphics.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -16073,11 +31527,126 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] public static - void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] object @params) + void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] ref T2 @params) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + + /// + /// 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_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_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 = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[] @params) + where T2 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + + /// + /// 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_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_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 = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[,] @params) + where T2 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + + /// + /// 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_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_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 = "Version15", Version = "1.5", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.BufferTarget target, OpenTK.Graphics.BufferPointer pname, [In, Out] T2[,,] @params) + where T2 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { Delegates.glGetBufferPointerv((OpenTK.Graphics.BufferTarget)target, (OpenTK.Graphics.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); @@ -16388,9 +31957,9 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBindAttribLocation")] public static - void BindAttribLocation(UInt32 program, UInt32 index, System.String name) + void BindAttribLocation(UInt32 program, UInt32 index, String name) { - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (System.String)name); + Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); } @@ -16414,9 +31983,9 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glBindAttribLocation")] public static - void BindAttribLocation(Int32 program, Int32 index, System.String name) + void BindAttribLocation(Int32 program, Int32 index, String name) { - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (System.String)name); + Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); } @@ -17511,9 +33080,9 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttribLocation")] public static - Int32 GetAttribLocation(UInt32 program, System.String name) + Int32 GetAttribLocation(UInt32 program, String name) { - return Delegates.glGetAttribLocation((UInt32)program, (System.String)name); + return Delegates.glGetAttribLocation((UInt32)program, (String)name); } @@ -17532,11 +33101,30 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetAttribLocation")] public static - Int32 GetAttribLocation(Int32 program, System.String name) + Int32 GetAttribLocation(Int32 program, String name) { - return Delegates.glGetAttribLocation((UInt32)program, (System.String)name); + return Delegates.glGetAttribLocation((UInt32)program, (String)name); } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] public static @@ -17551,6 +33139,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] public static void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32[] @params) @@ -17564,6 +33171,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] public static @@ -17579,6 +33205,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] public static void GetProgram(Int32 program, OpenTK.Graphics.ProgramParameter pname, [Out] out Int32 @params) @@ -17593,6 +33238,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] public static @@ -17601,6 +33265,25 @@ namespace OpenTK.Graphics Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ProgramParameter)pname, (Int32*)@params); } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetProgramiv")] public static @@ -17825,6 +33508,25 @@ namespace OpenTK.Graphics Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (System.Text.StringBuilder)infoLog); } + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] public static @@ -17839,6 +33541,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] public static void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] Int32[] @params) @@ -17852,6 +33573,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] public static @@ -17867,6 +33607,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] public static void GetShader(Int32 shader, OpenTK.Graphics.ShaderParameter pname, [Out] out Int32 @params) @@ -17881,6 +33640,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] public static @@ -17889,6 +33667,25 @@ namespace OpenTK.Graphics Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ShaderParameter)pname, (Int32*)@params); } + + /// + /// Returns a parameter from a shader object + /// + /// + /// + /// Specifies the shader object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetShaderiv")] public static @@ -18346,9 +34143,9 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformLocation")] public static - Int32 GetUniformLocation(UInt32 program, System.String name) + Int32 GetUniformLocation(UInt32 program, String name) { - return Delegates.glGetUniformLocation((UInt32)program, (System.String)name); + return Delegates.glGetUniformLocation((UInt32)program, (String)name); } @@ -18367,11 +34164,30 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformLocation")] public static - Int32 GetUniformLocation(Int32 program, System.String name) + Int32 GetUniformLocation(Int32 program, String name) { - return Delegates.glGetUniformLocation((UInt32)program, (System.String)name); + return Delegates.glGetUniformLocation((UInt32)program, (String)name); } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static @@ -18386,6 +34202,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static void GetUniform(Int32 program, Int32 location, [Out] Single[] @params) @@ -18399,6 +34234,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static @@ -18414,6 +34268,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static void GetUniform(Int32 program, Int32 location, [Out] out Single @params) @@ -18428,6 +34301,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static @@ -18436,6 +34328,25 @@ namespace OpenTK.Graphics Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformfv")] public static @@ -18444,6 +34355,25 @@ namespace OpenTK.Graphics Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static @@ -18458,6 +34388,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params) @@ -18471,6 +34420,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static @@ -18486,6 +34454,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params) @@ -18500,6 +34487,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static @@ -18508,6 +34514,25 @@ namespace OpenTK.Graphics Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetUniformiv")] public static @@ -18516,6 +34541,25 @@ namespace OpenTK.Graphics Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static @@ -18530,6 +34574,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Double[] @params) @@ -18543,6 +34606,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static @@ -18558,6 +34640,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Double @params) @@ -18572,6 +34673,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static @@ -18580,6 +34700,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribdv")] public static @@ -18588,6 +34727,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Double*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static @@ -18602,6 +34760,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Single[] @params) @@ -18615,6 +34792,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static @@ -18630,6 +34826,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Single @params) @@ -18644,6 +34859,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static @@ -18652,6 +34886,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribfv")] public static @@ -18660,6 +34913,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Single*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static @@ -18674,6 +34946,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] Int32[] @params) @@ -18687,6 +34978,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static @@ -18702,6 +35012,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameter pname, [Out] out Int32 @params) @@ -18716,6 +35045,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static @@ -18724,6 +35072,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.VertexAttribParameter)pname, (Int32*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribiv")] public static @@ -18813,11 +35180,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [In, Out] object pointer) + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -18850,11 +35218,243 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [In, Out] object pointer) + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Return the address of the specified generic vertex attribute pointer + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be returned. + /// + /// + /// + /// + /// Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER. + /// + /// + /// + /// + /// Returns the pointer value. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameter pname, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -18992,13 +35592,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] public static - void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, Int32[] length) + void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length) { unsafe { fixed (Int32* length_ptr = length) { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length_ptr); + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); } } } @@ -19029,13 +35629,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] public static - void ShaderSource(Int32 shader, Int32 count, System.String[] @string, Int32[] length) + void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length) { unsafe { fixed (Int32* length_ptr = length) { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length_ptr); + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); } } } @@ -19067,13 +35667,13 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] public static - void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, ref Int32 length) + void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length) { unsafe { fixed (Int32* length_ptr = &length) { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length_ptr); + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); } } } @@ -19104,13 +35704,13 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] public static - void ShaderSource(Int32 shader, Int32 count, System.String[] @string, ref Int32 length) + void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length) { unsafe { fixed (Int32* length_ptr = &length) { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length_ptr); + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); } } } @@ -19142,9 +35742,9 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] public static - unsafe void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, Int32* length) + unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length); + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); } @@ -19174,9 +35774,9 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glShaderSource")] public static - unsafe void ShaderSource(Int32 shader, Int32 count, System.String[] @string, Int32* length) + unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) { - Delegates.glShaderSource((UInt32)shader, (Int32)count, (System.String[])@string, (Int32*)length); + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); } @@ -19212,6 +35812,20 @@ namespace OpenTK.Graphics Delegates.glUseProgram((UInt32)program); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1f")] public static void Uniform1(Int32 location, Single v0) @@ -19219,6 +35833,20 @@ namespace OpenTK.Graphics Delegates.glUniform1f((Int32)location, (Single)v0); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2f")] public static void Uniform2(Int32 location, Single v0, Single v1) @@ -19226,6 +35854,20 @@ namespace OpenTK.Graphics Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3f")] public static void Uniform3(Int32 location, Single v0, Single v1, Single v2) @@ -19233,6 +35875,20 @@ namespace OpenTK.Graphics Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4f")] public static void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) @@ -19240,6 +35896,20 @@ namespace OpenTK.Graphics Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1i")] public static void Uniform1(Int32 location, Int32 v0) @@ -19247,6 +35917,20 @@ namespace OpenTK.Graphics Delegates.glUniform1i((Int32)location, (Int32)v0); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform2i")] public static void Uniform2(Int32 location, Int32 v0, Int32 v1) @@ -19254,6 +35938,20 @@ namespace OpenTK.Graphics Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3i")] public static void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) @@ -19261,6 +35959,20 @@ namespace OpenTK.Graphics Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4i")] public static void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) @@ -19268,6 +35980,20 @@ namespace OpenTK.Graphics Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] public static void Uniform1(Int32 location, Int32 count, Single[] value) @@ -19281,6 +36007,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] public static void Uniform1(Int32 location, Int32 count, ref Single value) @@ -19294,6 +36034,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1fv")] public static @@ -19336,6 +36090,20 @@ namespace OpenTK.Graphics Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3fv")] public static void Uniform3(Int32 location, Int32 count, Single[] value) @@ -19349,6 +36117,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3fv")] public static void Uniform3(Int32 location, Int32 count, ref Single value) @@ -19362,6 +36144,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3fv")] public static @@ -19370,6 +36166,20 @@ namespace OpenTK.Graphics Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] public static void Uniform4(Int32 location, Int32 count, Single[] value) @@ -19383,6 +36193,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] public static void Uniform4(Int32 location, Int32 count, ref Single value) @@ -19396,6 +36220,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4fv")] public static @@ -19404,6 +36242,20 @@ namespace OpenTK.Graphics Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] public static void Uniform1(Int32 location, Int32 count, Int32[] value) @@ -19417,6 +36269,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] public static void Uniform1(Int32 location, Int32 count, ref Int32 value) @@ -19430,6 +36296,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform1iv")] public static @@ -19472,6 +36352,20 @@ namespace OpenTK.Graphics Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3iv")] public static void Uniform3(Int32 location, Int32 count, Int32[] value) @@ -19485,6 +36379,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3iv")] public static void Uniform3(Int32 location, Int32 count, ref Int32 value) @@ -19498,6 +36406,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform3iv")] public static @@ -19506,6 +36428,20 @@ namespace OpenTK.Graphics Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4iv")] public static void Uniform4(Int32 location, Int32 count, Int32[] value) @@ -19519,6 +36455,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4iv")] public static void Uniform4(Int32 location, Int32 count, ref Int32 value) @@ -19532,6 +36482,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glUniform4iv")] public static @@ -19675,6 +36639,20 @@ namespace OpenTK.Graphics Delegates.glValidateProgram((UInt32)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 = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1d")] public static @@ -19683,6 +36661,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1d((UInt32)index, (Double)x); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1d")] public static void VertexAttrib1(Int32 index, Double x) @@ -19760,6 +36752,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1f")] public static @@ -19768,6 +36774,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1f((UInt32)index, (Single)x); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1f")] public static void VertexAttrib1(Int32 index, Single x) @@ -19845,6 +36865,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1s")] public static @@ -19853,6 +36887,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib1s")] public static void VertexAttrib1(Int32 index, Int16 x) @@ -19930,6 +36978,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2d")] public static @@ -19938,6 +37000,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2d")] public static void VertexAttrib2(Int32 index, Double x, Double y) @@ -19945,6 +37021,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static @@ -19959,6 +37049,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static void VertexAttrib2(Int32 index, Double[] v) @@ -19972,6 +37076,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static @@ -19986,6 +37104,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static void VertexAttrib2(Int32 index, ref Double v) @@ -19999,6 +37131,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static @@ -20007,6 +37153,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2dv")] public static @@ -20015,6 +37175,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2f")] public static @@ -20023,6 +37197,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2f")] public static void VertexAttrib2(Int32 index, Single x, Single y) @@ -20030,6 +37218,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static @@ -20044,6 +37246,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static void VertexAttrib2(Int32 index, Single[] v) @@ -20057,6 +37273,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static @@ -20071,6 +37301,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static void VertexAttrib2(Int32 index, ref Single v) @@ -20084,6 +37328,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static @@ -20092,6 +37350,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2fv")] public static @@ -20100,6 +37372,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2s")] public static @@ -20108,6 +37394,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2s")] public static void VertexAttrib2(Int32 index, Int16 x, Int16 y) @@ -20115,6 +37415,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] public static @@ -20129,6 +37443,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] public static void VertexAttrib2(Int32 index, Int16[] v) @@ -20142,6 +37470,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] public static @@ -20156,6 +37498,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] public static void VertexAttrib2(Int32 index, ref Int16 v) @@ -20169,6 +37525,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] public static @@ -20177,6 +37547,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib2sv")] public static @@ -20185,6 +37569,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3d")] public static @@ -20193,6 +37591,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3d")] public static void VertexAttrib3(Int32 index, Double x, Double y, Double z) @@ -20200,6 +37612,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static @@ -20214,6 +37640,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static void VertexAttrib3(Int32 index, Double[] v) @@ -20227,6 +37667,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static @@ -20241,6 +37695,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static void VertexAttrib3(Int32 index, ref Double v) @@ -20254,6 +37722,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static @@ -20262,6 +37744,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3dv")] public static @@ -20270,6 +37766,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3f")] public static @@ -20278,6 +37788,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3f")] public static void VertexAttrib3(Int32 index, Single x, Single y, Single z) @@ -20285,6 +37809,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static @@ -20299,6 +37837,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static void VertexAttrib3(Int32 index, Single[] v) @@ -20312,6 +37864,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static @@ -20326,6 +37892,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static void VertexAttrib3(Int32 index, ref Single v) @@ -20339,6 +37919,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static @@ -20347,6 +37941,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3fv")] public static @@ -20355,6 +37963,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3s")] public static @@ -20363,6 +37985,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3s")] public static void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) @@ -20370,6 +38006,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static @@ -20384,6 +38034,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static void VertexAttrib3(Int32 index, Int16[] v) @@ -20397,6 +38061,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static @@ -20411,6 +38089,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static void VertexAttrib3(Int32 index, ref Int16 v) @@ -20424,6 +38116,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static @@ -20432,6 +38138,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib3sv")] public static @@ -20773,6 +38493,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] public static @@ -20787,6 +38521,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] public static @@ -20801,6 +38549,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4bv")] public static @@ -20809,6 +38571,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4d")] public static @@ -20817,6 +38593,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4d")] public static void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) @@ -20824,6 +38614,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static @@ -20838,6 +38642,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static void VertexAttrib4(Int32 index, Double[] v) @@ -20851,6 +38669,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static @@ -20865,6 +38697,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static void VertexAttrib4(Int32 index, ref Double v) @@ -20878,6 +38724,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static @@ -20886,6 +38746,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4dv")] public static @@ -20894,6 +38768,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4f")] public static @@ -20902,6 +38790,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4f")] public static void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) @@ -20909,6 +38811,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] public static @@ -20923,6 +38839,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] public static void VertexAttrib4(Int32 index, Single[] v) @@ -20936,6 +38866,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] public static @@ -20950,6 +38894,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] public static void VertexAttrib4(Int32 index, ref Single v) @@ -20963,6 +38921,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] public static @@ -20971,6 +38943,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4fv")] public static @@ -20979,6 +38965,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static @@ -20993,6 +38993,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static void VertexAttrib4(Int32 index, Int32[] v) @@ -21006,6 +39020,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static @@ -21020,6 +39048,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static void VertexAttrib4(Int32 index, ref Int32 v) @@ -21033,6 +39075,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static @@ -21041,6 +39097,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4iv")] public static @@ -21049,6 +39119,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4s")] public static @@ -21057,6 +39141,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4s")] public static void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) @@ -21064,6 +39162,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static @@ -21078,6 +39190,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static void VertexAttrib4(Int32 index, Int16[] v) @@ -21091,6 +39217,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static @@ -21105,6 +39245,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static void VertexAttrib4(Int32 index, ref Int16 v) @@ -21118,6 +39272,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static @@ -21126,6 +39294,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4sv")] public static @@ -21134,6 +39316,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static @@ -21148,6 +39344,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static void VertexAttrib4(Int32 index, Byte[] v) @@ -21161,6 +39371,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static @@ -21175,6 +39399,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static void VertexAttrib4(Int32 index, ref Byte v) @@ -21188,6 +39426,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static @@ -21196,6 +39448,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4ubv")] public static @@ -21204,6 +39470,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] public static @@ -21218,6 +39498,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] public static @@ -21232,6 +39526,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4uiv")] public static @@ -21240,6 +39548,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] public static @@ -21254,6 +39576,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] public static @@ -21268,6 +39604,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttrib4usv")] public static @@ -21402,11 +39752,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] object pointer) + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -21454,11 +39805,333 @@ namespace OpenTK.Graphics /// [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] object pointer) + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + where T5 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + where T5 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) + where T5 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) + where T5 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) + where T5 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "Version20", Version = "2.0", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerType type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) + where T5 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -21674,6 +40347,15 @@ namespace OpenTK.Graphics Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); } + + /// + /// 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 = "Version30", Version = "3.0", EntryPoint = "glColorMaski")] public static @@ -21682,6 +40364,15 @@ namespace OpenTK.Graphics Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); } + + /// + /// 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 = "Version30", Version = "3.0", EntryPoint = "glColorMaski")] public static void ColorMask(Int32 index, bool r, bool g, bool b, bool a) @@ -21833,6 +40524,15 @@ namespace OpenTK.Graphics Delegates.glGetIntegeri_v((OpenTK.Graphics.Version30)target, (UInt32)index, (Int32*)data); } + + /// + /// Enable or disable server-side GL capabilities + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEnablei")] public static @@ -21841,6 +40541,15 @@ namespace OpenTK.Graphics Delegates.glEnablei((OpenTK.Graphics.Version30)target, (UInt32)index); } + + /// + /// Enable or disable server-side GL capabilities + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glEnablei")] public static void Enable(OpenTK.Graphics.Version30 target, Int32 index) @@ -21863,6 +40572,15 @@ namespace OpenTK.Graphics Delegates.glDisablei((OpenTK.Graphics.Version30)target, (UInt32)index); } + + /// + /// Test whether a capability is enabled + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glIsEnabledi")] public static @@ -21871,6 +40589,15 @@ namespace OpenTK.Graphics return Delegates.glIsEnabledi((OpenTK.Graphics.Version30)target, (UInt32)index); } + + /// + /// Test whether a capability is enabled + /// + /// + /// + /// Specifies a symbolic constant indicating a GL capability. + /// + /// [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glIsEnabledi")] public static bool IsEnabled(OpenTK.Graphics.Version30 target, Int32 index) @@ -22845,11 +41572,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.Version30 type, Int32 stride, [In, Out] object pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.Version30 type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.Version30)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -22863,11 +41591,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.Version30 type, Int32 stride, [In, Out] object pointer) + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.Version30 type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.Version30)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.Version30 type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.Version30)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.Version30 type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.Version30)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.Version30 type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.Version30)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.Version30 type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.Version30)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.Version30 type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.Version30)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.Version30 type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.Version30)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -22988,6 +41834,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.Version30)pname, (UInt32*)@params); } + + /// + /// 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 = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] public static @@ -23002,6 +41867,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] public static @@ -23017,6 +41901,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "Version30", Version = "3.0", EntryPoint = "glGetUniformuiv")] public static @@ -23028,33 +41931,47 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindFragDataLocation")] public static - void BindFragDataLocation(UInt32 program, UInt32 color, System.String name) + void BindFragDataLocation(UInt32 program, UInt32 color, String name) { - Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (System.String)name); + Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); } [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glBindFragDataLocation")] public static - void BindFragDataLocation(Int32 program, Int32 color, System.String name) + void BindFragDataLocation(Int32 program, Int32 color, String name) { - Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (System.String)name); + Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); } [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetFragDataLocation")] public static - Int32 GetFragDataLocation(UInt32 program, System.String name) + Int32 GetFragDataLocation(UInt32 program, String name) { - return Delegates.glGetFragDataLocation((UInt32)program, (System.String)name); + return Delegates.glGetFragDataLocation((UInt32)program, (String)name); } [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetFragDataLocation")] public static - Int32 GetFragDataLocation(Int32 program, System.String name) + Int32 GetFragDataLocation(Int32 program, String name) { - return Delegates.glGetFragDataLocation((UInt32)program, (System.String)name); + return Delegates.glGetFragDataLocation((UInt32)program, (String)name); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1ui")] public static @@ -23063,6 +41980,20 @@ namespace OpenTK.Graphics Delegates.glUniform1ui((Int32)location, (UInt32)v0); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform2ui")] public static @@ -23071,6 +42002,20 @@ namespace OpenTK.Graphics Delegates.glUniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3ui")] public static @@ -23079,6 +42024,20 @@ namespace OpenTK.Graphics Delegates.glUniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4ui")] public static @@ -23087,6 +42046,20 @@ namespace OpenTK.Graphics Delegates.glUniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] public static @@ -23101,6 +42074,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] public static @@ -23115,6 +42102,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform1uiv")] public static @@ -23159,6 +42160,20 @@ namespace OpenTK.Graphics Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] public static @@ -23173,6 +42188,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] public static @@ -23187,6 +42216,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform3uiv")] public static @@ -23195,6 +42238,20 @@ namespace OpenTK.Graphics Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] public static @@ -23209,6 +42266,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] public static @@ -23223,6 +42294,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glUniform4uiv")] public static @@ -23484,6 +42569,15 @@ namespace OpenTK.Graphics Delegates.glClearBufferfi((OpenTK.Graphics.Version30)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); } + + /// + /// Return a string describing the current GL connection + /// + /// + /// + /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetStringi")] public static @@ -23495,6 +42589,15 @@ namespace OpenTK.Graphics } } + + /// + /// Return a string describing the current GL connection + /// + /// + /// + /// Specifies a symbolic constant, one of GL_VENDOR, GL_RENDERER, GL_VERSION, GL_SHADING_LANGUAGE_VERSION, or GL_EXTENSIONS. + /// + /// [AutoGenerated(Category = "Version30", Version = "3.0", EntryPoint = "glGetStringi")] public static string GetString(OpenTK.Graphics.Version30 name, Int32 index) @@ -24294,11 +43397,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] public static - void VertexArrayRange(Int32 length, [In, Out] object pointer) + void VertexArrayRange(Int32 length, [In, Out] ref T1 pointer) + where T1 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, [In, Out] T1[] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, [In, Out] T1[,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvVertexArrayRange", Version = "1.1", EntryPoint = "glVertexArrayRangeNV")] + public static + void VertexArrayRange(Int32 length, [In, Out] T1[,,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -24921,11 +44082,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] object points) + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] ref T8 points) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); try { Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); @@ -24939,11 +44101,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] public static - void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] object points) + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] ref T8 points) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[] points) + where T8 : struct + { + unsafe + { + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[] points) + where T8 : struct + { + unsafe + { + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) + where T8 : struct + { + unsafe + { + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,] points) + where T8 : struct + { + unsafe + { + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) + where T8 : struct + { + unsafe + { + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glMapControlPointsNV")] + public static + void MapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, [In, Out] T8[,,] points) + where T8 : struct + { + unsafe + { + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); try { Delegates.glMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); @@ -25047,11 +44327,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] object points) + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] ref T6 points) + where T6 : struct { unsafe { - System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); try { Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); @@ -25065,11 +44346,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] public static - void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] object points) + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] ref T6 points) + where T6 : struct { unsafe { - System.Runtime.InteropServices.GCHandle points_ptr = System.Runtime.InteropServices.GCHandle.Alloc(points, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[] points) + where T6 : struct + { + unsafe + { + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[] points) + where T6 : struct + { + unsafe + { + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,] points) + where T6 : struct + { + unsafe + { + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,] points) + where T6 : struct + { + unsafe + { + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, UInt32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,,] points) + where T6 : struct + { + unsafe + { + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); + } + finally + { + points_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvEvaluators", Version = "1.1", EntryPoint = "glGetMapControlPointsNV")] + public static + void GetMapControlPoints(OpenTK.Graphics.NvEvaluators target, Int32 index, OpenTK.Graphics.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [In, Out] T6[,,] points) + where T6 : struct + { + unsafe + { + GCHandle points_ptr = GCHandle.Alloc(points, GCHandleType.Pinned); try { Delegates.glGetMapControlPointsNV((OpenTK.Graphics.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points_ptr.AddrOfPinnedObject()); @@ -25464,6 +44863,15 @@ namespace OpenTK.Graphics Delegates.glBindProgramNV((OpenTK.Graphics.NvVertexProgram)target, (UInt32)id); } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] public static @@ -25478,6 +44886,15 @@ namespace OpenTK.Graphics } } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] public static void DeleteProgram(Int32 n, Int32[] programs) @@ -25491,6 +44908,15 @@ namespace OpenTK.Graphics } } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] public static @@ -25505,6 +44931,15 @@ namespace OpenTK.Graphics } } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] public static void DeleteProgram(Int32 n, ref Int32 programs) @@ -25518,6 +44953,15 @@ namespace OpenTK.Graphics } } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] public static @@ -25526,6 +44970,15 @@ namespace OpenTK.Graphics Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glDeleteProgramsNV")] public static @@ -25820,6 +45273,25 @@ namespace OpenTK.Graphics Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.NvVertexProgram)target, (UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params); } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] public static @@ -25834,6 +45306,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] public static void GetProgram(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32[] @params) @@ -25847,6 +45338,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] public static @@ -25862,6 +45372,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] public static void GetProgram(Int32 id, OpenTK.Graphics.NvVertexProgram pname, [Out] out Int32 @params) @@ -25876,6 +45405,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] public static @@ -25884,6 +45432,25 @@ namespace OpenTK.Graphics Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetProgramivNV")] public static @@ -26036,6 +45603,25 @@ namespace OpenTK.Graphics Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.NvVertexProgram)target, (UInt32)address, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] public static @@ -26050,6 +45636,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Double[] @params) @@ -26063,6 +45668,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] public static @@ -26078,6 +45702,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Double @params) @@ -26092,6 +45735,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] public static @@ -26100,6 +45762,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribdvNV")] public static @@ -26108,6 +45789,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Double*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static @@ -26122,6 +45822,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Single[] @params) @@ -26135,6 +45854,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static @@ -26150,6 +45888,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Single @params) @@ -26164,6 +45921,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static @@ -26172,6 +45948,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribfvNV")] public static @@ -26180,6 +45975,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Single*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static @@ -26194,6 +46008,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] Int32[] @params) @@ -26207,6 +46040,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static @@ -26222,6 +46074,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [Out] out Int32 @params) @@ -26236,6 +46107,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static @@ -26244,6 +46134,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (Int32*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribivNV")] public static @@ -26276,11 +46185,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] object pointer) + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -26294,11 +46204,12 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] object pointer) + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -26310,6 +46221,132 @@ namespace OpenTK.Graphics } } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glGetVertexAttribPointervNV")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.NvVertexProgram pname, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.NvVertexProgram)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glIsProgramNV")] public static @@ -26318,6 +46355,15 @@ namespace OpenTK.Graphics return Delegates.glIsProgramNV((UInt32)id); } + + /// + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glIsProgramNV")] public static bool IsProgram(Int32 id) @@ -26790,6 +46836,40 @@ namespace OpenTK.Graphics Delegates.glTrackMatrixNV((OpenTK.Graphics.NvVertexProgram)target, (UInt32)address, (OpenTK.Graphics.NvVertexProgram)matrix, (OpenTK.Graphics.NvVertexProgram)transform); } + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static @@ -26801,6 +46881,40 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.NvVertexProgram type, Int32 stride, IntPtr pointer) @@ -26811,14 +46925,49 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static - void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.NvVertexProgram type, Int32 stride, [In, Out] object pointer) + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.NvVertexProgram type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.NvVertexProgram)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -26830,13 +46979,48 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] public static - void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.NvVertexProgram type, Int32 stride, [In, Out] object pointer) + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.NvVertexProgram type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.NvVertexProgram)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -26848,6 +47032,341 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.NvVertexProgram type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.NvVertexProgram)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.NvVertexProgram type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.NvVertexProgram)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.NvVertexProgram type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.NvVertexProgram)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.NvVertexProgram type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.NvVertexProgram)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(UInt32 index, Int32 fsize, OpenTK.Graphics.NvVertexProgram type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.NvVertexProgram)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttribPointerNV")] + public static + void VertexAttribPointer(Int32 index, Int32 fsize, OpenTK.Graphics.NvVertexProgram type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.NvVertexProgram)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dNV")] public static @@ -26856,6 +47375,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1dNV")] public static void VertexAttrib1(Int32 index, Double x) @@ -26933,6 +47466,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1fNV")] public static @@ -26941,6 +47488,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1fNV")] public static void VertexAttrib1(Int32 index, Single x) @@ -27018,6 +47579,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1sNV")] public static @@ -27026,6 +47601,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib1sNV")] public static void VertexAttrib1(Int32 index, Int16 x) @@ -27103,6 +47692,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dNV")] public static @@ -27111,6 +47714,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dNV")] public static void VertexAttrib2(Int32 index, Double x, Double y) @@ -27118,6 +47735,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static @@ -27132,6 +47763,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static void VertexAttrib2(Int32 index, Double[] v) @@ -27145,6 +47790,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static @@ -27159,6 +47818,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static void VertexAttrib2(Int32 index, ref Double v) @@ -27172,6 +47845,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static @@ -27180,6 +47867,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2dvNV")] public static @@ -27188,6 +47889,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fNV")] public static @@ -27196,6 +47911,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2fNV((UInt32)index, (Single)x, (Single)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fNV")] public static void VertexAttrib2(Int32 index, Single x, Single y) @@ -27203,6 +47932,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2fNV((UInt32)index, (Single)x, (Single)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] public static @@ -27217,6 +47960,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] public static void VertexAttrib2(Int32 index, Single[] v) @@ -27230,6 +47987,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] public static @@ -27244,6 +48015,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] public static void VertexAttrib2(Int32 index, ref Single v) @@ -27257,6 +48042,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] public static @@ -27265,6 +48064,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2fvNV")] public static @@ -27273,6 +48086,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2sNV")] public static @@ -27281,6 +48108,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2sNV((UInt32)index, (Int16)x, (Int16)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2sNV")] public static void VertexAttrib2(Int32 index, Int16 x, Int16 y) @@ -27288,6 +48129,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2sNV((UInt32)index, (Int16)x, (Int16)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static @@ -27302,6 +48157,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static void VertexAttrib2(Int32 index, Int16[] v) @@ -27315,6 +48184,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static @@ -27329,6 +48212,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static void VertexAttrib2(Int32 index, ref Int16 v) @@ -27342,6 +48239,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static @@ -27350,6 +48261,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib2svNV")] public static @@ -27358,6 +48283,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dNV")] public static @@ -27366,6 +48305,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3dNV((UInt32)index, (Double)x, (Double)y, (Double)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dNV")] public static void VertexAttrib3(Int32 index, Double x, Double y, Double z) @@ -27373,6 +48326,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3dNV((UInt32)index, (Double)x, (Double)y, (Double)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static @@ -27387,6 +48354,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static void VertexAttrib3(Int32 index, Double[] v) @@ -27400,6 +48381,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static @@ -27414,6 +48409,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static void VertexAttrib3(Int32 index, ref Double v) @@ -27427,6 +48436,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static @@ -27435,6 +48458,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3dvNV")] public static @@ -27443,6 +48480,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fNV")] public static @@ -27451,6 +48502,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fNV")] public static void VertexAttrib3(Int32 index, Single x, Single y, Single z) @@ -27458,6 +48523,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static @@ -27472,6 +48551,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static void VertexAttrib3(Int32 index, Single[] v) @@ -27485,6 +48578,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static @@ -27499,6 +48606,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static void VertexAttrib3(Int32 index, ref Single v) @@ -27512,6 +48633,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static @@ -27520,6 +48655,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3fvNV")] public static @@ -27528,6 +48677,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3sNV")] public static @@ -27536,6 +48699,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3sNV")] public static void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) @@ -27543,6 +48720,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] public static @@ -27557,6 +48748,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] public static void VertexAttrib3(Int32 index, Int16[] v) @@ -27570,6 +48775,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] public static @@ -27584,6 +48803,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] public static void VertexAttrib3(Int32 index, ref Int16 v) @@ -27597,6 +48830,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] public static @@ -27605,6 +48852,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib3svNV")] public static @@ -27613,6 +48874,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dNV")] public static @@ -27621,6 +48896,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dNV")] public static void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) @@ -27628,6 +48917,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static @@ -27642,6 +48945,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static void VertexAttrib4(Int32 index, Double[] v) @@ -27655,6 +48972,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static @@ -27669,6 +49000,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static void VertexAttrib4(Int32 index, ref Double v) @@ -27682,6 +49027,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static @@ -27690,6 +49049,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4dvNV")] public static @@ -27698,6 +49071,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fNV")] public static @@ -27706,6 +49093,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fNV")] public static void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) @@ -27713,6 +49114,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static @@ -27727,6 +49142,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static void VertexAttrib4(Int32 index, Single[] v) @@ -27740,6 +49169,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static @@ -27754,6 +49197,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static void VertexAttrib4(Int32 index, ref Single v) @@ -27767,6 +49224,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static @@ -27775,6 +49246,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4fvNV")] public static @@ -27783,6 +49268,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4sNV")] public static @@ -27791,6 +49290,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4sNV")] public static void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) @@ -27798,6 +49311,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static @@ -27812,6 +49339,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static void VertexAttrib4(Int32 index, Int16[] v) @@ -27825,6 +49366,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static @@ -27839,6 +49394,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static void VertexAttrib4(Int32 index, ref Int16 v) @@ -27852,6 +49421,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static @@ -27860,6 +49443,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4svNV")] public static @@ -27868,6 +49465,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubNV")] public static @@ -27876,6 +49487,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4ubNV((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubNV")] public static void VertexAttrib4(Int32 index, Byte x, Byte y, Byte z, Byte w) @@ -27883,6 +49508,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4ubNV((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static @@ -27897,6 +49536,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static void VertexAttrib4(Int32 index, Byte[] v) @@ -27910,6 +49563,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static @@ -27924,6 +49591,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static void VertexAttrib4(Int32 index, ref Byte v) @@ -27937,6 +49618,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static @@ -27945,6 +49640,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram", Version = "1.2", EntryPoint = "glVertexAttrib4ubvNV")] public static @@ -29151,6 +50860,20 @@ namespace OpenTK.Graphics Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.NvOcclusionQuery)pname, (UInt32*)@params); } + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// [AutoGenerated(Category = "NvPointSprite", Version = "1.2", EntryPoint = "glPointParameteriNV")] public static void PointParameter(OpenTK.Graphics.NvPointSprite pname, Int32 param) @@ -30961,11 +52684,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] public static - void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] object pointer) + void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvPixelDataRange", Version = "1.2", EntryPoint = "glPixelDataRangeNV")] + public static + void PixelDataRange(OpenTK.Graphics.NvPixelDataRange target, Int32 length, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glPixelDataRangeNV((OpenTK.Graphics.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -31701,6 +53482,20 @@ namespace OpenTK.Graphics Delegates.glProgramVertexLimitNV((OpenTK.Graphics.NvGeometryProgram4)target, (Int32)limit); } + + /// + /// 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 = "NvDepthBufferFloat", Version = "2.0", EntryPoint = "glDepthRangedNV")] public static void DepthRange(Double zNear, Double zFar) @@ -31708,6 +53503,15 @@ namespace OpenTK.Graphics Delegates.glDepthRangedNV((Double)zNear, (Double)zFar); } + + /// + /// 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 = "NvDepthBufferFloat", Version = "2.0", EntryPoint = "glClearDepthdNV")] public static void ClearDepth(Double depth) @@ -32107,31 +53911,31 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glActiveVaryingNV")] public static - void ActiveVarying(UInt32 program, System.String name) + void ActiveVarying(UInt32 program, String name) { - Delegates.glActiveVaryingNV((UInt32)program, (System.String)name); + Delegates.glActiveVaryingNV((UInt32)program, (String)name); } [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glActiveVaryingNV")] public static - void ActiveVarying(Int32 program, System.String name) + void ActiveVarying(Int32 program, String name) { - Delegates.glActiveVaryingNV((UInt32)program, (System.String)name); + Delegates.glActiveVaryingNV((UInt32)program, (String)name); } [System.CLSCompliant(false)] [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetVaryingLocationNV")] public static - Int32 GetVaryingLocation(UInt32 program, System.String name) + Int32 GetVaryingLocation(UInt32 program, String name) { - return Delegates.glGetVaryingLocationNV((UInt32)program, (System.String)name); + return Delegates.glGetVaryingLocationNV((UInt32)program, (String)name); } [AutoGenerated(Category = "NvTransformFeedback", Version = "1.5", EntryPoint = "glGetVaryingLocationNV")] public static - Int32 GetVaryingLocation(Int32 program, System.String name) + Int32 GetVaryingLocation(Int32 program, String name) { - return Delegates.glGetVaryingLocationNV((UInt32)program, (System.String)name); + return Delegates.glGetVaryingLocationNV((UInt32)program, (String)name); } [System.CLSCompliant(false)] @@ -32619,6 +54423,15 @@ namespace OpenTK.Graphics public static partial class Arb { + + /// + /// 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 larger of (GL_MAX_TEXTURE_COORDS - 1) and (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1). The initial value is GL_TEXTURE0. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glActiveTextureARB")] public static void ActiveTexture(OpenTK.Graphics.TextureUnit texture) @@ -32626,6 +54439,15 @@ namespace OpenTK.Graphics Delegates.glActiveTextureARB((OpenTK.Graphics.TextureUnit)texture); } + + /// + /// 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 = "ArbMultitexture", Version = "1.2", EntryPoint = "glClientActiveTextureARB")] public static void ClientActiveTexture(OpenTK.Graphics.TextureUnit texture) @@ -32633,6 +54455,20 @@ namespace OpenTK.Graphics Delegates.glClientActiveTextureARB((OpenTK.Graphics.TextureUnit)texture); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1dARB")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Double s) @@ -32674,6 +54510,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord1dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1fARB")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Single s) @@ -32715,6 +54565,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord1fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1iARB")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int32 s) @@ -32756,6 +54620,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord1ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord1sARB")] public static void MultiTexCoord1(OpenTK.Graphics.TextureUnit target, Int16 s) @@ -32797,6 +54675,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord1svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double s, Double t) @@ -32804,6 +54696,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Double[] v) @@ -32817,6 +54723,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Double v) @@ -32830,6 +54750,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2dvARB")] public static @@ -32838,6 +54772,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single s, Single t) @@ -32845,6 +54793,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Single[] v) @@ -32858,6 +54820,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Single v) @@ -32871,6 +54847,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2fvARB")] public static @@ -32879,6 +54869,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2iARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t) @@ -32886,6 +54890,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int32[] v) @@ -32899,6 +54917,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int32 v) @@ -32912,6 +54944,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2ivARB")] public static @@ -32920,6 +54966,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2sARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t) @@ -32927,6 +54987,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, Int16[] v) @@ -32940,6 +55014,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] public static void MultiTexCoord2(OpenTK.Graphics.TextureUnit target, ref Int16 v) @@ -32953,6 +55041,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord2svARB")] public static @@ -32961,6 +55063,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r) @@ -32968,6 +55084,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Double[] v) @@ -32981,6 +55111,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Double v) @@ -32994,6 +55138,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3dvARB")] public static @@ -33002,6 +55160,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r) @@ -33009,6 +55181,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Single[] v) @@ -33022,6 +55208,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Single v) @@ -33035,6 +55235,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3fvARB")] public static @@ -33043,6 +55257,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3iARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r) @@ -33050,6 +55278,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int32[] v) @@ -33063,6 +55305,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int32 v) @@ -33076,6 +55332,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3ivARB")] public static @@ -33084,6 +55354,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3sARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r) @@ -33091,6 +55375,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, Int16[] v) @@ -33104,6 +55402,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] public static void MultiTexCoord3(OpenTK.Graphics.TextureUnit target, ref Int16 v) @@ -33117,6 +55429,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord3svARB")] public static @@ -33125,6 +55451,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double s, Double t, Double r, Double q) @@ -33132,6 +55472,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4dARB((OpenTK.Graphics.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Double[] v) @@ -33145,6 +55499,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Double v) @@ -33158,6 +55526,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4dvARB")] public static @@ -33166,6 +55548,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.TextureUnit)target, (Double*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single s, Single t, Single r, Single q) @@ -33173,6 +55569,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4fARB((OpenTK.Graphics.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Single[] v) @@ -33186,6 +55596,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Single v) @@ -33199,6 +55623,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4fvARB")] public static @@ -33207,6 +55645,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.TextureUnit)target, (Single*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4iARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) @@ -33214,6 +55666,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4iARB((OpenTK.Graphics.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int32[] v) @@ -33227,6 +55693,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int32 v) @@ -33240,6 +55720,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4ivARB")] public static @@ -33248,6 +55742,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.TextureUnit)target, (Int32*)v); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4sARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) @@ -33255,6 +55763,20 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4sARB((OpenTK.Graphics.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, Int16[] v) @@ -33268,6 +55790,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] public static void MultiTexCoord4(OpenTK.Graphics.TextureUnit target, ref Int16 v) @@ -33281,6 +55817,20 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current texture coordinates + /// + /// + /// + /// Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTURE, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. + /// + /// + /// + /// + /// Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbMultitexture", Version = "1.2", EntryPoint = "glMultiTexCoord4svARB")] public static @@ -33289,6 +55839,15 @@ namespace OpenTK.Graphics Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.TextureUnit)target, (Int16*)v); } + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] public static void LoadTransposeMatrix(Single[] m) @@ -33302,6 +55861,15 @@ namespace OpenTK.Graphics } } + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] public static void LoadTransposeMatrix(ref Single m) @@ -33315,6 +55883,15 @@ namespace OpenTK.Graphics } } + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixfARB")] public static @@ -33323,6 +55900,15 @@ namespace OpenTK.Graphics Delegates.glLoadTransposeMatrixfARB((Single*)m); } + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] public static void LoadTransposeMatrix(Double[] m) @@ -33336,6 +55922,15 @@ namespace OpenTK.Graphics } } + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] public static void LoadTransposeMatrix(ref Double m) @@ -33349,6 +55944,15 @@ namespace OpenTK.Graphics } } + + /// + /// Replace the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Specifies a pointer to 16 consecutive values, which are used as the elements of a 4 times 4 row-major matrix. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glLoadTransposeMatrixdARB")] public static @@ -33357,6 +55961,15 @@ namespace OpenTK.Graphics Delegates.glLoadTransposeMatrixdARB((Double*)m); } + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] public static void MultTransposeMatrix(Single[] m) @@ -33370,6 +55983,15 @@ namespace OpenTK.Graphics } } + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] public static void MultTransposeMatrix(ref Single m) @@ -33383,6 +56005,15 @@ namespace OpenTK.Graphics } } + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixfARB")] public static @@ -33391,6 +56022,15 @@ namespace OpenTK.Graphics Delegates.glMultTransposeMatrixfARB((Single*)m); } + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] public static void MultTransposeMatrix(Double[] m) @@ -33404,6 +56044,15 @@ namespace OpenTK.Graphics } } + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] public static void MultTransposeMatrix(ref Double m) @@ -33417,6 +56066,15 @@ namespace OpenTK.Graphics } } + + /// + /// Multiply the current matrix with the specified row-major ordered matrix + /// + /// + /// + /// Points to 16 consecutive values that are used as the elements of a 4 times 4 row-major matrix. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbTransposeMatrix", Version = "1.2", EntryPoint = "glMultTransposeMatrixdARB")] public static @@ -33425,6 +56083,20 @@ namespace OpenTK.Graphics Delegates.glMultTransposeMatrixdARB((Double*)m); } + + /// + /// 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 = "ArbMultisample", Version = "1.2", EntryPoint = "glSampleCoverageARB")] public static void SampleCoverage(Single value, bool invert) @@ -33432,6 +56104,55 @@ namespace OpenTK.Graphics Delegates.glSampleCoverageARB((Single)value, (bool)invert); } + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] public static void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) @@ -33442,13 +56163,63 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] public static - void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] object data) + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T8 data) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -33460,6 +56231,254 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[] data) + where T8 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,] data) + where T8 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage3DARB")] + public static + void CompressedTexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T8[,,] data) + where T8 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] public static void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) @@ -33470,13 +56489,58 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] public static - void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] object data) + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T7 data) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -33488,6 +56552,234 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[] data) + where T7 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,] data) + where T7 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_PROXY_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, or GL_PROXY_TEXTURE_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels wide and cube-mapped texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be Must be 2 sup n + 2 ( border ) for some integer . All implementations support 2D texture images that are at least 64 texels high and cube-mapped texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage2DARB")] + public static + void CompressedTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T7[,,] data) + where T7 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) @@ -33498,13 +56790,53 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] public static - void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] object data) + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T6 data) + where T6 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -33516,6 +56848,234 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[] data) + where T6 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,] data) + where T6 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture image in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D or GL_PROXY_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support texture images that are at least 64 texels wide. The height of the 1D texture image is 1. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexImage1DARB")] + public static + void CompressedTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T6[,,] data) + where T6 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] public static void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) @@ -33526,13 +57086,68 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] public static - void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object data) + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T10 data) + where T10 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -33544,6 +57159,274 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[] data) + where T10 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,] data) + where T10 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage3DARB")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T10[,,] data) + where T10 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] public static void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) @@ -33554,13 +57437,63 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] public static - void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object data) + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T8 data) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -33572,6 +57505,249 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[] data) + where T8 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,] data) + where T8 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage2DARB")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T8[,,] data) + where T8 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] public static void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, IntPtr data) @@ -33582,13 +57758,53 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] public static - void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object data) + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T6 data) + where T6 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -33600,6 +57816,199 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[] data) + where T6 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,] data) + where T6 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture subimage in a compressed format + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the compressed image data stored at address data. + /// + /// + /// + /// + /// Specifies the number of unsigned bytes of image data starting at the address specified by data. + /// + /// + /// + /// + /// Specifies a pointer to the compressed image data in memory. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glCompressedTexSubImage1DARB")] + public static + void CompressedTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T6[,,] data) + where T6 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] public static void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [Out] IntPtr img) @@ -33610,13 +58019,33 @@ namespace OpenTK.Graphics } } + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] public static - void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] object img) + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] ref T2 img) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); try { Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); @@ -33628,6 +58057,134 @@ namespace OpenTK.Graphics } } + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[] img) + where T2 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,] img) + where T2 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + + /// + /// Return a compressed texture image + /// + /// + /// + /// Specifies which texture is to be obtained. GL_TEXTURE_1D, GL_TEXTURE_2D, and GL_TEXTURE_3D GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, and GL_TEXTURE_CUBE_MAP_NEGATIVE_Z are accepted. + /// + /// + /// + /// + /// Specifies the level-of-detail number of the desired image. Level 0 is the base image level. Level is the th mipmap reduction image. + /// + /// + /// + /// + /// Returns the compressed texture image. + /// + /// + [AutoGenerated(Category = "ArbTextureCompression", Version = "1.2", EntryPoint = "glGetCompressedTexImageARB")] + public static + void GetCompressedTexImage(OpenTK.Graphics.TextureTarget target, Int32 level, [In, Out] T2[,,] img) + where T2 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.TextureTarget)target, (Int32)level, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// [AutoGenerated(Category = "ArbPointParameters", Version = "1.0", EntryPoint = "glPointParameterfARB")] public static void PointParameter(OpenTK.Graphics.ArbPointParameters pname, Single param) @@ -33959,11 +58516,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] public static - void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] object pointer) + void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbVertexBlend", Version = "1.1", EntryPoint = "glWeightPointerARB")] + public static + void WeightPointer(Int32 size, OpenTK.Graphics.ArbVertexBlend type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -34175,11 +58790,12 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] public static - void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] object pointer) + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -34191,6 +58807,72 @@ namespace OpenTK.Graphics } } + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbMatrixPalette", Version = "1.1", EntryPoint = "glMatrixIndexPointerARB")] + public static + void MatrixIndexPointer(Int32 size, OpenTK.Graphics.ArbMatrixPalette type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dARB")] public static void WindowPos2(Double x, Double y) @@ -34198,6 +58880,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2dARB((Double)x, (Double)y); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] public static void WindowPos2(Double[] v) @@ -34211,6 +58902,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] public static void WindowPos2(ref Double v) @@ -34224,6 +58924,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvARB")] public static @@ -34232,6 +58941,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2dvARB((Double*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fARB")] public static void WindowPos2(Single x, Single y) @@ -34239,6 +58957,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2fARB((Single)x, (Single)y); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] public static void WindowPos2(Single[] v) @@ -34252,6 +58979,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] public static void WindowPos2(ref Single v) @@ -34265,6 +59001,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvARB")] public static @@ -34273,6 +59018,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2fvARB((Single*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2iARB")] public static void WindowPos2(Int32 x, Int32 y) @@ -34280,6 +59034,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2iARB((Int32)x, (Int32)y); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] public static void WindowPos2(Int32[] v) @@ -34293,6 +59056,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] public static void WindowPos2(ref Int32 v) @@ -34306,6 +59078,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivARB")] public static @@ -34314,6 +59095,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2ivARB((Int32*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2sARB")] public static void WindowPos2(Int16 x, Int16 y) @@ -34321,6 +59111,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2sARB((Int16)x, (Int16)y); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] public static void WindowPos2(Int16[] v) @@ -34334,6 +59133,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] public static void WindowPos2(ref Int16 v) @@ -34347,6 +59155,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svARB")] public static @@ -34355,6 +59172,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2svARB((Int16*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dARB")] public static void WindowPos3(Double x, Double y, Double z) @@ -34362,6 +59188,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3dARB((Double)x, (Double)y, (Double)z); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] public static void WindowPos3(Double[] v) @@ -34375,6 +59210,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] public static void WindowPos3(ref Double v) @@ -34388,6 +59232,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvARB")] public static @@ -34396,6 +59249,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3dvARB((Double*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fARB")] public static void WindowPos3(Single x, Single y, Single z) @@ -34403,6 +59265,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3fARB((Single)x, (Single)y, (Single)z); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] public static void WindowPos3(Single[] v) @@ -34416,6 +59287,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] public static void WindowPos3(ref Single v) @@ -34429,6 +59309,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvARB")] public static @@ -34437,6 +59326,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3fvARB((Single*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3iARB")] public static void WindowPos3(Int32 x, Int32 y, Int32 z) @@ -34444,6 +59342,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3iARB((Int32)x, (Int32)y, (Int32)z); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] public static void WindowPos3(Int32[] v) @@ -34457,6 +59364,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] public static void WindowPos3(ref Int32 v) @@ -34470,6 +59386,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivARB")] public static @@ -34478,6 +59403,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3ivARB((Int32*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3sARB")] public static void WindowPos3(Int16 x, Int16 y, Int16 z) @@ -34485,6 +59419,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3sARB((Int16)x, (Int16)y, (Int16)z); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] public static void WindowPos3(Int16[] v) @@ -34498,6 +59441,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] public static void WindowPos3(ref Int16 v) @@ -34511,6 +59463,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svARB")] public static @@ -34519,6 +59480,20 @@ namespace OpenTK.Graphics Delegates.glWindowPos3svARB((Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dARB")] public static @@ -34527,6 +59502,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1dARB")] public static void VertexAttrib1(Int32 index, Double x) @@ -34604,6 +59593,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fARB")] public static @@ -34612,6 +59615,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1fARB")] public static void VertexAttrib1(Int32 index, Single x) @@ -34689,6 +59706,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1sARB")] public static @@ -34697,6 +59728,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib1sARB")] public static void VertexAttrib1(Int32 index, Int16 x) @@ -34774,6 +59819,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dARB")] public static @@ -34782,6 +59841,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dARB")] public static void VertexAttrib2(Int32 index, Double x, Double y) @@ -34789,6 +59862,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static @@ -34803,6 +59890,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static void VertexAttrib2(Int32 index, Double[] v) @@ -34816,6 +59917,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static @@ -34830,6 +59945,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static void VertexAttrib2(Int32 index, ref Double v) @@ -34843,6 +59972,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static @@ -34851,6 +59994,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2dvARB")] public static @@ -34859,6 +60016,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fARB")] public static @@ -34867,6 +60038,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fARB")] public static void VertexAttrib2(Int32 index, Single x, Single y) @@ -34874,6 +60059,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static @@ -34888,6 +60087,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static void VertexAttrib2(Int32 index, Single[] v) @@ -34901,6 +60114,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static @@ -34915,6 +60142,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static void VertexAttrib2(Int32 index, ref Single v) @@ -34928,6 +60169,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static @@ -34936,6 +60191,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2fvARB")] public static @@ -34944,6 +60213,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2sARB")] public static @@ -34952,6 +60235,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2sARB")] public static void VertexAttrib2(Int32 index, Int16 x, Int16 y) @@ -34959,6 +60256,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static @@ -34973,6 +60284,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static void VertexAttrib2(Int32 index, Int16[] v) @@ -34986,6 +60311,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static @@ -35000,6 +60339,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static void VertexAttrib2(Int32 index, ref Int16 v) @@ -35013,6 +60366,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static @@ -35021,6 +60388,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib2svARB")] public static @@ -35029,6 +60410,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dARB")] public static @@ -35037,6 +60432,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dARB")] public static void VertexAttrib3(Int32 index, Double x, Double y, Double z) @@ -35044,6 +60453,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static @@ -35058,6 +60481,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static void VertexAttrib3(Int32 index, Double[] v) @@ -35071,6 +60508,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static @@ -35085,6 +60536,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static void VertexAttrib3(Int32 index, ref Double v) @@ -35098,6 +60563,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static @@ -35106,6 +60585,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3dvARB")] public static @@ -35114,6 +60607,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fARB")] public static @@ -35122,6 +60629,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fARB")] public static void VertexAttrib3(Int32 index, Single x, Single y, Single z) @@ -35129,6 +60650,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static @@ -35143,6 +60678,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static void VertexAttrib3(Int32 index, Single[] v) @@ -35156,6 +60705,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static @@ -35170,6 +60733,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static void VertexAttrib3(Int32 index, ref Single v) @@ -35183,6 +60760,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static @@ -35191,6 +60782,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3fvARB")] public static @@ -35199,6 +60804,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3sARB")] public static @@ -35207,6 +60826,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3sARB")] public static void VertexAttrib3(Int32 index, Int16 x, Int16 y, Int16 z) @@ -35214,6 +60847,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static @@ -35228,6 +60875,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static void VertexAttrib3(Int32 index, Int16[] v) @@ -35241,6 +60902,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static @@ -35255,6 +60930,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static void VertexAttrib3(Int32 index, ref Int16 v) @@ -35268,6 +60957,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static @@ -35276,6 +60979,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib3svARB")] public static @@ -35617,6 +61334,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] public static @@ -35631,6 +61362,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] public static @@ -35645,6 +61390,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4bvARB")] public static @@ -35653,6 +61412,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dARB")] public static @@ -35661,6 +61434,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dARB")] public static void VertexAttrib4(Int32 index, Double x, Double y, Double z, Double w) @@ -35668,6 +61455,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static @@ -35682,6 +61483,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static void VertexAttrib4(Int32 index, Double[] v) @@ -35695,6 +61510,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static @@ -35709,6 +61538,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static void VertexAttrib4(Int32 index, ref Double v) @@ -35722,6 +61565,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static @@ -35730,6 +61587,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4dvARB")] public static @@ -35738,6 +61609,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fARB")] public static @@ -35746,6 +61631,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fARB")] public static void VertexAttrib4(Int32 index, Single x, Single y, Single z, Single w) @@ -35753,6 +61652,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static @@ -35767,6 +61680,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static void VertexAttrib4(Int32 index, Single[] v) @@ -35780,6 +61707,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static @@ -35794,6 +61735,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static void VertexAttrib4(Int32 index, ref Single v) @@ -35807,6 +61762,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static @@ -35815,6 +61784,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4fvARB")] public static @@ -35823,6 +61806,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] public static @@ -35837,6 +61834,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] public static void VertexAttrib4(Int32 index, Int32[] v) @@ -35850,6 +61861,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] public static @@ -35864,6 +61889,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] public static void VertexAttrib4(Int32 index, ref Int32 v) @@ -35877,6 +61916,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] public static @@ -35885,6 +61938,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ivARB")] public static @@ -35893,6 +61960,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4sARB")] public static @@ -35901,6 +61982,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4sARB")] public static void VertexAttrib4(Int32 index, Int16 x, Int16 y, Int16 z, Int16 w) @@ -35908,6 +62003,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static @@ -35922,6 +62031,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static void VertexAttrib4(Int32 index, Int16[] v) @@ -35935,6 +62058,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static @@ -35949,6 +62086,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static void VertexAttrib4(Int32 index, ref Int16 v) @@ -35962,6 +62113,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static @@ -35970,6 +62135,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4svARB")] public static @@ -35978,6 +62157,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] public static @@ -35992,6 +62185,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] public static void VertexAttrib4(Int32 index, Byte[] v) @@ -36005,6 +62212,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] public static @@ -36019,6 +62240,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] public static void VertexAttrib4(Int32 index, ref Byte v) @@ -36032,6 +62267,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] public static @@ -36040,6 +62289,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4ubvARB")] public static @@ -36048,6 +62311,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] public static @@ -36062,6 +62339,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] public static @@ -36076,6 +62367,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4uivARB")] public static @@ -36084,6 +62389,20 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] public static @@ -36098,6 +62417,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] public static @@ -36112,6 +62445,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies the value of a generic vertex attribute + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified vertex attribute. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttrib4usvARB")] public static @@ -36120,6 +62467,40 @@ namespace OpenTK.Graphics Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); } + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static @@ -36131,6 +62512,40 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) @@ -36141,14 +62556,49 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] object pointer) + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -36160,13 +62610,48 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] public static - void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] object pointer) + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] ref T5 pointer) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -36178,6 +62663,336 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + where T5 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[] pointer) + where T5 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) + where T5 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,] pointer) + where T5 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) + where T5 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of generic vertex attribute data + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be modified. + /// + /// + /// + /// + /// Specifies the number of components per generic vertex attribute. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies whether fixed-point data values should be normalized (GL_TRUE) or converted directly as fixed-point values (GL_FALSE) when they are accessed. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first generic vertex attribute in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glVertexAttribPointerARB")] + public static + void VertexAttribPointer(Int32 index, Int32 size, OpenTK.Graphics.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, [In, Out] T5[,,] pointer) + where T5 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")] public static @@ -36186,6 +63001,15 @@ namespace OpenTK.Graphics Delegates.glEnableVertexAttribArrayARB((UInt32)index); } + + /// + /// Enable or disable a generic vertex attribute array + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be enabled or disabled. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glEnableVertexAttribArrayARB")] public static void EnableVertexAttribArray(Int32 index) @@ -36220,11 +63044,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] public static - void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramFormatArb format, Int32 len, [In, Out] object @string) + void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramFormatArb format, Int32 len, [In, Out] ref T3 @string) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramFormatArb)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramFormatArb format, Int32 len, [In, Out] T3[] @string) + where T3 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramFormatArb)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramFormatArb format, Int32 len, [In, Out] T3[,] @string) + where T3 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramFormatArb)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glProgramStringARB")] + public static + void ProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramFormatArb format, Int32 len, [In, Out] T3[,,] @string) + where T3 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { Delegates.glProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramFormatArb)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); @@ -36251,6 +63133,15 @@ namespace OpenTK.Graphics Delegates.glBindProgramARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)program); } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static @@ -36265,6 +63156,15 @@ namespace OpenTK.Graphics } } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static void DeleteProgram(Int32 n, Int32[] programs) @@ -36278,6 +63178,15 @@ namespace OpenTK.Graphics } } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static @@ -36292,6 +63201,15 @@ namespace OpenTK.Graphics } } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static void DeleteProgram(Int32 n, ref Int32 programs) @@ -36305,6 +63223,15 @@ namespace OpenTK.Graphics } } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static @@ -36313,6 +63240,15 @@ namespace OpenTK.Graphics Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); } + + /// + /// Deletes a program object + /// + /// + /// + /// Specifies the program object to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glDeleteProgramsARB")] public static @@ -37021,6 +63957,25 @@ namespace OpenTK.Graphics Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")] public static void GetProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] Int32[] @params) @@ -37034,6 +63989,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")] public static void GetProgram(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramParameterArb pname, [Out] out Int32 @params) @@ -37048,6 +64022,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a parameter from a program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the object parameter. Accepted symbolic names are GL_DELETE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH. + /// + /// + /// + /// + /// Returns the requested object parameter. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramivARB")] public static @@ -37068,11 +64061,12 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] public static - void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramStringParameterArb pname, [In, Out] object @string) + void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramStringParameterArb pname, [In, Out] ref T2 @string) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramStringParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); @@ -37084,6 +64078,82 @@ namespace OpenTK.Graphics } } + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramStringParameterArb pname, [In, Out] T2[] @string) + where T2 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramStringParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramStringParameterArb pname, [In, Out] T2[,] @string) + where T2 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramStringParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetProgramStringARB")] + public static + void GetProgramString(OpenTK.Graphics.AssemblyProgramTargetArb target, OpenTK.Graphics.AssemblyProgramStringParameterArb pname, [In, Out] T2[,,] @string) + where T2 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringARB((OpenTK.Graphics.AssemblyProgramTargetArb)target, (OpenTK.Graphics.AssemblyProgramStringParameterArb)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static @@ -37098,6 +64168,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Double[] @params) @@ -37111,6 +64200,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static @@ -37126,6 +64234,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Double @params) @@ -37140,6 +64267,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static @@ -37148,6 +64294,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribdvARB")] public static @@ -37156,6 +64321,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Double*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static @@ -37170,6 +64354,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Single[] @params) @@ -37183,6 +64386,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static @@ -37198,6 +64420,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Single @params) @@ -37212,6 +64453,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static @@ -37220,6 +64480,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribfvARB")] public static @@ -37228,6 +64507,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Single*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] public static @@ -37242,6 +64540,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] Int32[] @params) @@ -37255,6 +64572,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] public static @@ -37270,6 +64606,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] public static void GetVertexAttrib(Int32 index, OpenTK.Graphics.VertexAttribParameterArb pname, [Out] out Int32 @params) @@ -37284,6 +64639,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] public static @@ -37292,6 +64666,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.VertexAttribParameterArb)pname, (Int32*)@params); } + + /// + /// Return a generic vertex attribute parameter + /// + /// + /// + /// Specifies the generic vertex attribute parameter to be queried. + /// + /// + /// + /// + /// Specifies the symbolic name of the vertex attribute parameter to be queried. Accepted values are GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, or GL_CURRENT_VERTEX_ATTRIB. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribivARB")] public static @@ -37324,11 +64717,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] object pointer) + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -37342,11 +64736,12 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] public static - void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] object pointer) + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -37358,6 +64753,132 @@ namespace OpenTK.Graphics } } + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glGetVertexAttribPointervARB")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.VertexAttribPointerParameterArb pname, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.VertexAttribPointerParameterArb)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")] public static @@ -37366,6 +64887,15 @@ namespace OpenTK.Graphics return Delegates.glIsProgramARB((UInt32)program); } + + /// + /// Determines if a name corresponds to a program object + /// + /// + /// + /// Specifies a potential program object. + /// + /// [AutoGenerated(Category = "ArbVertexProgram", Version = "1.3", EntryPoint = "glIsProgramARB")] public static bool IsProgram(Int32 program) @@ -37373,6 +64903,20 @@ namespace OpenTK.Graphics return Delegates.glIsProgramARB((UInt32)program); } + + /// + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")] public static @@ -37381,6 +64925,20 @@ namespace OpenTK.Graphics Delegates.glBindBufferARB((OpenTK.Graphics.BufferTargetArb)target, (UInt32)buffer); } + + /// + /// Bind a named buffer object + /// + /// + /// + /// Specifies the target to which the buffer object is bound. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the name of a buffer object. + /// + /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBindBufferARB")] public static void BindBuffer(OpenTK.Graphics.BufferTargetArb target, Int32 buffer) @@ -37388,6 +64946,20 @@ namespace OpenTK.Graphics Delegates.glBindBufferARB((OpenTK.Graphics.BufferTargetArb)target, (UInt32)buffer); } + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static @@ -37402,6 +64974,20 @@ namespace OpenTK.Graphics } } + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static void DeleteBuffers(Int32 n, Int32[] buffers) @@ -37415,6 +65001,20 @@ namespace OpenTK.Graphics } } + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static @@ -37429,6 +65029,20 @@ namespace OpenTK.Graphics } } + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static void DeleteBuffers(Int32 n, ref Int32 buffers) @@ -37442,6 +65056,20 @@ namespace OpenTK.Graphics } } + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static @@ -37450,6 +65078,20 @@ namespace OpenTK.Graphics Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); } + + /// + /// Delete named buffer objects + /// + /// + /// + /// Specifies the number of buffer objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of buffer objects to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glDeleteBuffersARB")] public static @@ -37458,6 +65100,20 @@ namespace OpenTK.Graphics Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); } + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] public static @@ -37472,6 +65128,20 @@ namespace OpenTK.Graphics } } + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] public static void GenBuffers(Int32 n, [Out] Int32[] buffers) @@ -37485,6 +65155,20 @@ namespace OpenTK.Graphics } } + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] public static @@ -37500,6 +65184,20 @@ namespace OpenTK.Graphics } } + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] public static void GenBuffers(Int32 n, [Out] out Int32 buffers) @@ -37514,6 +65212,20 @@ namespace OpenTK.Graphics } } + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] public static @@ -37522,6 +65234,20 @@ namespace OpenTK.Graphics Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); } + + /// + /// Generate buffer object names + /// + /// + /// + /// Specifies the number of buffer object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated buffer object names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGenBuffersARB")] public static @@ -37530,6 +65256,15 @@ namespace OpenTK.Graphics Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); } + + /// + /// 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 = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")] public static @@ -37538,6 +65273,15 @@ namespace OpenTK.Graphics return Delegates.glIsBufferARB((UInt32)buffer); } + + /// + /// Determine if a name corresponds to a buffer object + /// + /// + /// + /// Specifies a value that may be the name of a buffer object. + /// + /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glIsBufferARB")] public static bool IsBuffer(Int32 buffer) @@ -37545,6 +65289,30 @@ namespace OpenTK.Graphics return Delegates.glIsBufferARB((UInt32)buffer); } + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] public static void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.BufferUsageArb usage) @@ -37555,13 +65323,38 @@ namespace OpenTK.Graphics } } + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] public static - void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] object data, OpenTK.Graphics.BufferUsageArb usage) + void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.BufferUsageArb usage) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); @@ -37573,6 +65366,159 @@ namespace OpenTK.Graphics } } + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.BufferUsageArb usage) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.BufferUsageArb usage) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Creates and initializes a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the size in bytes of the buffer object's new data store. + /// + /// + /// + /// + /// Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied. + /// + /// + /// + /// + /// Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferDataARB")] + public static + void BufferData(OpenTK.Graphics.BufferTargetArb target, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.BufferUsageArb usage) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.BufferUsageArb)usage); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] public static void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data) @@ -37583,13 +65529,38 @@ namespace OpenTK.Graphics } } + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] public static - void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] object data) + void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -37601,6 +65572,159 @@ namespace OpenTK.Graphics } } + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Updates a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store where data replacement will begin, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being replaced. + /// + /// + /// + /// + /// Specifies a pointer to the new data that will be copied into the data store. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glBufferSubDataARB")] + public static + void BufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] public static void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [Out] IntPtr data) @@ -37611,13 +65735,38 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] public static - void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] object data) + void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -37629,6 +65778,149 @@ namespace OpenTK.Graphics } } + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Returns a subset of a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_BUFFER. + /// + /// + /// + /// + /// Specifies the offset into the buffer object's data store from which data will be returned, measured in bytes. + /// + /// + /// + /// + /// Specifies the size in bytes of the data store region being returned. + /// + /// + /// + /// + /// Specifies a pointer to the location where buffer object data is returned. + /// + /// + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferSubDataARB")] + public static + void GetBufferSubData(OpenTK.Graphics.BufferTargetArb target, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Map a buffer object's data store + /// + /// + /// + /// Specifies the target buffer object being mapped. The symbolic constant must be GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, GL_PIXEL_PACK_BUFFER, or GL_PIXEL_UNPACK_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 = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glMapBufferARB")] public static @@ -37691,11 +65983,12 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] public static - void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] object @params) + void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] ref T2 @params) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); @@ -37707,6 +66000,77 @@ namespace OpenTK.Graphics } } + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[] @params) + where T2 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[,] @params) + where T2 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbVertexBufferObject", Version = "1.2", EntryPoint = "glGetBufferPointervARB")] + public static + void GetBufferPointer(OpenTK.Graphics.ArbVertexBufferObject target, OpenTK.Graphics.BufferPointerNameArb pname, [In, Out] T2[,,] @params) + where T2 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferPointervARB((OpenTK.Graphics.ArbVertexBufferObject)target, (OpenTK.Graphics.BufferPointerNameArb)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static @@ -37721,6 +66085,20 @@ namespace OpenTK.Graphics } } + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static void GenQueries(Int32 n, [Out] Int32[] ids) @@ -37734,6 +66112,20 @@ namespace OpenTK.Graphics } } + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static @@ -37749,6 +66141,20 @@ namespace OpenTK.Graphics } } + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static void GenQueries(Int32 n, [Out] out Int32 ids) @@ -37763,6 +66169,20 @@ namespace OpenTK.Graphics } } + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static @@ -37771,6 +66191,20 @@ namespace OpenTK.Graphics Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); } + + /// + /// Generate query object names + /// + /// + /// + /// Specifies the number of query object names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated query object names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGenQueriesARB")] public static @@ -37779,6 +66213,20 @@ namespace OpenTK.Graphics Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); } + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static @@ -37793,6 +66241,20 @@ namespace OpenTK.Graphics } } + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static void DeleteQueries(Int32 n, Int32[] ids) @@ -37806,6 +66268,20 @@ namespace OpenTK.Graphics } } + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static @@ -37820,6 +66296,20 @@ namespace OpenTK.Graphics } } + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static void DeleteQueries(Int32 n, ref Int32 ids) @@ -37833,6 +66323,20 @@ namespace OpenTK.Graphics } } + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static @@ -37841,6 +66345,20 @@ namespace OpenTK.Graphics Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); } + + /// + /// Delete named query objects + /// + /// + /// + /// Specifies the number of query objects to be deleted. + /// + /// + /// + /// + /// Specifies an array of query objects to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glDeleteQueriesARB")] public static @@ -37849,6 +66367,15 @@ namespace OpenTK.Graphics Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); } + + /// + /// 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 = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")] public static @@ -37857,6 +66384,15 @@ namespace OpenTK.Graphics return Delegates.glIsQueryARB((UInt32)id); } + + /// + /// Determine if a name corresponds to a query object + /// + /// + /// + /// Specifies a value that may be the name of a query object. + /// + /// [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glIsQueryARB")] public static bool IsQuery(Int32 id) @@ -37864,6 +66400,20 @@ namespace OpenTK.Graphics return Delegates.glIsQueryARB((UInt32)id); } + + /// + /// Delimit the boundaries of a query object + /// + /// + /// + /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED. + /// + /// + /// + /// + /// Specifies the name of a query object. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")] public static @@ -37872,6 +66422,20 @@ namespace OpenTK.Graphics Delegates.glBeginQueryARB((OpenTK.Graphics.ArbOcclusionQuery)target, (UInt32)id); } + + /// + /// Delimit the boundaries of a query object + /// + /// + /// + /// Specifies the target type of query object established between glBeginQuery and the subsequent glEndQuery. The symbolic constant must be GL_SAMPLES_PASSED. + /// + /// + /// + /// + /// Specifies the name of a query object. + /// + /// [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glBeginQueryARB")] public static void BeginQuery(OpenTK.Graphics.ArbOcclusionQuery target, Int32 id) @@ -37921,6 +66485,25 @@ namespace OpenTK.Graphics Delegates.glGetQueryivARB((OpenTK.Graphics.ArbOcclusionQuery)target, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params); } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static @@ -37935,6 +66518,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] Int32[] @params) @@ -37948,6 +66550,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static @@ -37963,6 +66584,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static void GetQueryObject(Int32 id, OpenTK.Graphics.ArbOcclusionQuery pname, [Out] out Int32 @params) @@ -37977,6 +66617,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static @@ -37985,6 +66644,25 @@ namespace OpenTK.Graphics Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params); } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectivARB")] public static @@ -37993,6 +66671,25 @@ namespace OpenTK.Graphics Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.ArbOcclusionQuery)pname, (Int32*)@params); } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] public static @@ -38007,6 +66704,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] public static @@ -38022,6 +66738,25 @@ namespace OpenTK.Graphics } } + + /// + /// Return parameters of a query object + /// + /// + /// + /// Specifies the name of a query object. + /// + /// + /// + /// + /// Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE. + /// + /// + /// + /// + /// Returns the requested data. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbOcclusionQuery", Version = "1.5", EntryPoint = "glGetQueryObjectuivARB")] public static @@ -38074,76 +66809,229 @@ namespace OpenTK.Graphics return Delegates.glCreateShaderObjectARB((OpenTK.Graphics.ArbShaderObjects)shaderType); } + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] public static - void ShaderSource(UInt32 shaderObj, Int32 count, System.String[] @string, Int32[] length) + void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, Int32[] length) { unsafe { fixed (Int32* length_ptr = length) { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length_ptr); + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); } } } + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] public static - void ShaderSource(Int32 shaderObj, Int32 count, System.String[] @string, Int32[] length) + void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, Int32[] length) { unsafe { fixed (Int32* length_ptr = length) { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length_ptr); + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); } } } + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] public static - void ShaderSource(UInt32 shaderObj, Int32 count, System.String[] @string, ref Int32 length) + void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, ref Int32 length) { unsafe { fixed (Int32* length_ptr = &length) { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length_ptr); + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); } } } + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] public static - void ShaderSource(Int32 shaderObj, Int32 count, System.String[] @string, ref Int32 length) + void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, ref Int32 length) { unsafe { fixed (Int32* length_ptr = &length) { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length_ptr); + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length_ptr); } } } + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] public static - unsafe void ShaderSource(UInt32 shaderObj, Int32 count, System.String[] @string, Int32* length) + unsafe void ShaderSource(UInt32 shaderObj, Int32 count, String[] @string, Int32* length) { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length); + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); } + + /// + /// Replaces the source code in a shader object + /// + /// + /// + /// Specifies the handle of the shader object whose source code is to be replaced. + /// + /// + /// + /// + /// Specifies the number of elements in the string and length arrays. + /// + /// + /// + /// + /// Specifies an array of pointers to strings containing the source code to be loaded into the shader. + /// + /// + /// + /// + /// Specifies an array of string lengths. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glShaderSourceARB")] public static - unsafe void ShaderSource(Int32 shaderObj, Int32 count, System.String[] @string, Int32* length) + unsafe void ShaderSource(Int32 shaderObj, Int32 count, String[] @string, Int32* length) { - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (System.String[])@string, (Int32*)length); + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); } + + /// + /// Compiles a shader object + /// + /// + /// + /// Specifies the shader object to be compiled. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")] public static @@ -38152,6 +67040,15 @@ namespace OpenTK.Graphics Delegates.glCompileShaderARB((UInt32)shaderObj); } + + /// + /// Compiles a shader object + /// + /// + /// + /// Specifies the shader object to be compiled. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glCompileShaderARB")] public static void CompileShader(Int32 shaderObj) @@ -38181,6 +67078,15 @@ namespace OpenTK.Graphics Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj); } + + /// + /// Links a program object + /// + /// + /// + /// Specifies the handle of the program object to be linked. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")] public static @@ -38189,6 +67095,15 @@ namespace OpenTK.Graphics Delegates.glLinkProgramARB((UInt32)programObj); } + + /// + /// Links a program object + /// + /// + /// + /// Specifies the handle of the program object to be linked. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glLinkProgramARB")] public static void LinkProgram(Int32 programObj) @@ -38211,6 +67126,15 @@ namespace OpenTK.Graphics Delegates.glUseProgramObjectARB((UInt32)programObj); } + + /// + /// Validates a program object + /// + /// + /// + /// Specifies the handle of the program object to be validated. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glValidateProgramARB")] public static @@ -38219,6 +67143,15 @@ namespace OpenTK.Graphics Delegates.glValidateProgramARB((UInt32)programObj); } + + /// + /// Validates a program object + /// + /// + /// + /// Specifies the handle of the program object to be validated. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glValidateProgramARB")] public static void ValidateProgram(Int32 programObj) @@ -38226,6 +67159,20 @@ namespace OpenTK.Graphics Delegates.glValidateProgramARB((UInt32)programObj); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fARB")] public static void Uniform1(Int32 location, Single v0) @@ -38233,6 +67180,20 @@ namespace OpenTK.Graphics Delegates.glUniform1fARB((Int32)location, (Single)v0); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2fARB")] public static void Uniform2(Int32 location, Single v0, Single v1) @@ -38240,6 +67201,20 @@ namespace OpenTK.Graphics Delegates.glUniform2fARB((Int32)location, (Single)v0, (Single)v1); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fARB")] public static void Uniform3(Int32 location, Single v0, Single v1, Single v2) @@ -38247,6 +67222,20 @@ namespace OpenTK.Graphics Delegates.glUniform3fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fARB")] public static void Uniform4(Int32 location, Single v0, Single v1, Single v2, Single v3) @@ -38254,6 +67243,20 @@ namespace OpenTK.Graphics Delegates.glUniform4fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1iARB")] public static void Uniform1(Int32 location, Int32 v0) @@ -38261,6 +67264,20 @@ namespace OpenTK.Graphics Delegates.glUniform1iARB((Int32)location, (Int32)v0); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform2iARB")] public static void Uniform2(Int32 location, Int32 v0, Int32 v1) @@ -38268,6 +67285,20 @@ namespace OpenTK.Graphics Delegates.glUniform2iARB((Int32)location, (Int32)v0, (Int32)v1); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3iARB")] public static void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) @@ -38275,6 +67306,20 @@ namespace OpenTK.Graphics Delegates.glUniform3iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4iARB")] public static void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) @@ -38282,6 +67327,20 @@ namespace OpenTK.Graphics Delegates.glUniform4iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] public static void Uniform1(Int32 location, Int32 count, Single[] value) @@ -38295,6 +67354,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] public static void Uniform1(Int32 location, Int32 count, ref Single value) @@ -38308,6 +67381,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1fvARB")] public static @@ -38350,6 +67437,20 @@ namespace OpenTK.Graphics Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] public static void Uniform3(Int32 location, Int32 count, Single[] value) @@ -38363,6 +67464,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] public static void Uniform3(Int32 location, Int32 count, ref Single value) @@ -38376,6 +67491,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3fvARB")] public static @@ -38384,6 +67513,20 @@ namespace OpenTK.Graphics Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] public static void Uniform4(Int32 location, Int32 count, Single[] value) @@ -38397,6 +67540,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] public static void Uniform4(Int32 location, Int32 count, ref Single value) @@ -38410,6 +67567,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4fvARB")] public static @@ -38418,6 +67589,20 @@ namespace OpenTK.Graphics Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] public static void Uniform1(Int32 location, Int32 count, Int32[] value) @@ -38431,6 +67616,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] public static void Uniform1(Int32 location, Int32 count, ref Int32 value) @@ -38444,6 +67643,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform1ivARB")] public static @@ -38486,6 +67699,20 @@ namespace OpenTK.Graphics Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] public static void Uniform3(Int32 location, Int32 count, Int32[] value) @@ -38499,6 +67726,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] public static void Uniform3(Int32 location, Int32 count, ref Int32 value) @@ -38512,6 +67753,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform3ivARB")] public static @@ -38520,6 +67775,20 @@ namespace OpenTK.Graphics Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] public static void Uniform4(Int32 location, Int32 count, Int32[] value) @@ -38533,6 +67802,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] public static void Uniform4(Int32 location, Int32 count, ref Int32 value) @@ -38546,6 +67829,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glUniform4ivARB")] public static @@ -38950,21 +68247,88 @@ namespace OpenTK.Graphics Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); } + + /// + /// 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")] public static - Int32 GetUniformLocation(UInt32 programObj, System.String name) + Int32 GetUniformLocation(UInt32 programObj, String name) { - return Delegates.glGetUniformLocationARB((UInt32)programObj, (System.String)name); + return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name); } + + /// + /// 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformLocationARB")] public static - Int32 GetUniformLocation(Int32 programObj, System.String name) + Int32 GetUniformLocation(Int32 programObj, String name) { - return Delegates.glGetUniformLocationARB((UInt32)programObj, (System.String)name); + return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name); } + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] public static @@ -38981,6 +68345,45 @@ namespace OpenTK.Graphics } } + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] public static void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.ArbShaderObjects[] type, [Out] System.Text.StringBuilder name) @@ -38996,6 +68399,45 @@ namespace OpenTK.Graphics } } + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] public static @@ -39015,6 +68457,45 @@ namespace OpenTK.Graphics } } + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] public static void GetActiveUniform(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbShaderObjects type, [Out] System.Text.StringBuilder name) @@ -39033,6 +68514,45 @@ namespace OpenTK.Graphics } } + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] public static @@ -39041,6 +68561,45 @@ namespace OpenTK.Graphics Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbShaderObjects*)type, (System.Text.StringBuilder)name); } + + /// + /// Returns information about an active uniform variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the uniform variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the uniform variable. + /// + /// + /// + /// + /// Returns the data type of the uniform variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetActiveUniformARB")] public static @@ -39049,6 +68608,25 @@ namespace OpenTK.Graphics Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbShaderObjects*)type, (System.Text.StringBuilder)name); } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] public static @@ -39063,6 +68641,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] public static void GetUniform(Int32 programObj, Int32 location, [Out] Single[] @params) @@ -39076,6 +68673,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] public static @@ -39091,6 +68707,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] public static void GetUniform(Int32 programObj, Int32 location, [Out] out Single @params) @@ -39105,6 +68740,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] public static @@ -39113,6 +68767,25 @@ namespace OpenTK.Graphics Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformfvARB")] public static @@ -39121,6 +68794,25 @@ namespace OpenTK.Graphics Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static @@ -39135,6 +68827,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static void GetUniform(Int32 programObj, Int32 location, [Out] Int32[] @params) @@ -39148,6 +68859,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static @@ -39163,6 +68893,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static void GetUniform(Int32 programObj, Int32 location, [Out] out Int32 @params) @@ -39177,6 +68926,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static @@ -39185,6 +68953,25 @@ namespace OpenTK.Graphics Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetUniformivARB")] public static @@ -39193,6 +68980,30 @@ namespace OpenTK.Graphics Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); } + + /// + /// 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] public static @@ -39207,6 +69018,30 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] public static void GetShaderSource(Int32 obj, Int32 maxLength, [Out] Int32[] length, [Out] System.Text.StringBuilder[] source) @@ -39220,6 +69055,30 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] public static @@ -39235,6 +69094,30 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] public static void GetShaderSource(Int32 obj, Int32 maxLength, [Out] out Int32 length, [Out] System.Text.StringBuilder[] source) @@ -39249,6 +69132,30 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] public static @@ -39257,6 +69164,30 @@ namespace OpenTK.Graphics Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source); } + + /// + /// 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 = "ArbShaderObjects", Version = "1.2", EntryPoint = "glGetShaderSourceARB")] public static @@ -39265,21 +69196,98 @@ namespace OpenTK.Graphics Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (System.Text.StringBuilder[])source); } + + /// + /// Associates a generic vertex attribute index with a named attribute variable + /// + /// + /// + /// Specifies the handle of the program object in which the association is to be made. + /// + /// + /// + /// + /// Specifies the index of the generic vertex attribute to be bound. + /// + /// + /// + /// + /// Specifies a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")] public static - void BindAttribLocation(UInt32 programObj, UInt32 index, System.String name) + void BindAttribLocation(UInt32 programObj, UInt32 index, String name) { - Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (System.String)name); + Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name); } + + /// + /// 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 = "ArbVertexShader", Version = "1.2", EntryPoint = "glBindAttribLocationARB")] public static - void BindAttribLocation(Int32 programObj, Int32 index, System.String name) + void BindAttribLocation(Int32 programObj, Int32 index, String name) { - Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (System.String)name); + Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name); } + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] public static @@ -39296,6 +69304,45 @@ namespace OpenTK.Graphics } } + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] public static void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] Int32[] length, [Out] Int32[] size, [Out] OpenTK.Graphics.ArbVertexShader[] type, [Out] System.Text.StringBuilder name) @@ -39311,6 +69358,45 @@ namespace OpenTK.Graphics } } + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] public static @@ -39330,6 +69416,45 @@ namespace OpenTK.Graphics } } + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] public static void GetActiveAttrib(Int32 programObj, Int32 index, Int32 maxLength, [Out] out Int32 length, [Out] out Int32 size, [Out] out OpenTK.Graphics.ArbVertexShader type, [Out] System.Text.StringBuilder name) @@ -39348,6 +69473,45 @@ namespace OpenTK.Graphics } } + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] public static @@ -39356,6 +69520,45 @@ namespace OpenTK.Graphics Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbVertexShader*)type, (System.Text.StringBuilder)name); } + + /// + /// Returns information about an active attribute variable for the specified program object + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the index of the attribute variable to be queried. + /// + /// + /// + /// + /// Specifies the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name. + /// + /// + /// + /// + /// Returns the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed. + /// + /// + /// + /// + /// Returns the size of the attribute variable. + /// + /// + /// + /// + /// Returns the data type of the attribute variable. + /// + /// + /// + /// + /// Returns a null terminated string containing the name of the attribute variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetActiveAttribARB")] public static @@ -39364,21 +69567,63 @@ namespace OpenTK.Graphics Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ArbVertexShader*)type, (System.Text.StringBuilder)name); } + + /// + /// 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 = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")] public static - Int32 GetAttribLocation(UInt32 programObj, System.String name) + Int32 GetAttribLocation(UInt32 programObj, String name) { - return Delegates.glGetAttribLocationARB((UInt32)programObj, (System.String)name); + return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name); } + + /// + /// 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 = "ArbVertexShader", Version = "1.2", EntryPoint = "glGetAttribLocationARB")] public static - Int32 GetAttribLocation(Int32 programObj, System.String name) + Int32 GetAttribLocation(Int32 programObj, String name) { - return Delegates.glGetAttribLocationARB((UInt32)programObj, (System.String)name); + return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name); } + + /// + /// 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 = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] public static void DrawBuffers(Int32 n, OpenTK.Graphics.ArbDrawBuffers[] bufs) @@ -39392,6 +69637,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] public static void DrawBuffers(Int32 n, ref OpenTK.Graphics.ArbDrawBuffers bufs) @@ -39405,6 +69664,20 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "ArbDrawBuffers", Version = "1.5", EntryPoint = "glDrawBuffersARB")] public static @@ -39439,11 +69712,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] public static - void DrawElementsInstance(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount) + void DrawElementsInstance(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstance(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstance(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ArbDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedARB")] + public static + void DrawElementsInstance(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); @@ -39534,6 +69865,15 @@ namespace OpenTK.Graphics public static partial class Ext { + + /// + /// Set the blend color + /// + /// + /// + /// specify the components of GL_BLEND_COLOR + /// + /// [AutoGenerated(Category = "ExtBlendColor", Version = "1.0", EntryPoint = "glBlendColorEXT")] public static void BlendColor(Single red, Single green, Single blue, Single alpha) @@ -39541,6 +69881,20 @@ namespace OpenTK.Graphics Delegates.glBlendColorEXT((Single)red, (Single)green, (Single)blue, (Single)alpha); } + + /// + /// 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 = "ExtPolygonOffset", Version = "1.0", EntryPoint = "glPolygonOffsetEXT")] public static void PolygonOffset(Single factor, Single bias) @@ -39548,6 +69902,60 @@ namespace OpenTK.Graphics Delegates.glPolygonOffsetEXT((Single)factor, (Single)bias); } + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] public static void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) @@ -39558,13 +69966,68 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] public static - void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -39576,6 +70039,284 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] + public static + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] + public static + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture image + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D or GL_PROXY_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level is the n sup th mipmap reduction image. + /// + /// + /// + /// + /// Specifies the number of color components in the texture. Must be 1, 2, 3, or 4, or one of the following symbolic constants: GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, GL_RGBA16, GL_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, GL_SRGB, GL_SRGB8, GL_SRGB_ALPHA, or GL_SRGB8_ALPHA8. + /// + /// + /// + /// + /// Specifies the width of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup n + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels wide. + /// + /// + /// + /// + /// Specifies the height of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup m + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels high. + /// + /// + /// + /// + /// Specifies the depth of the texture image including the border if any. If the GL version does not support non-power-of-two sizes, this value must be 2 sup k + 2 ( border ) for some integer . All implementations support 3D texture images that are at least 16 texels deep. + /// + /// + /// + /// + /// Specifies the width of the border. Must be either 0 or 1. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexImage3DEXT")] + public static + void TexImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] public static void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) @@ -39586,13 +70327,73 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] public static - void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -39604,6 +70405,279 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a three-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_3D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the z direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the depth of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtTexture3D", Version = "1.0", EntryPoint = "glTexSubImage3DEXT")] + public static + void TexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] public static void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) @@ -39614,13 +70688,53 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] public static - void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 pixels) + where T6 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -39632,6 +70746,229 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] pixels) + where T6 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] pixels) + where T6 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a one-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_1D. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage1DEXT")] + public static + void TexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] pixels) + where T6 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] public static void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr pixels) @@ -39642,13 +70979,63 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] public static - void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -39660,6 +71047,244 @@ namespace OpenTK.Graphics } } + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// Specify a two-dimensional texture subimage + /// + /// + /// + /// Specifies the target texture. Must be GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, or GL_TEXTURE_CUBE_MAP_NEGATIVE_Z. + /// + /// + /// + /// + /// Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. + /// + /// + /// + /// + /// Specifies a texel offset in the x direction within the texture array. + /// + /// + /// + /// + /// Specifies a texel offset in the y direction within the texture array. + /// + /// + /// + /// + /// Specifies the width of the texture subimage. + /// + /// + /// + /// + /// Specifies the height of the texture subimage. + /// + /// + /// + /// + /// Specifies the format of the pixel data. The following symbolic values are accepted: GL_COLOR_INDEX, GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Specifies the data type of the pixel data. The following symbolic values are accepted: GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Specifies a pointer to the image data in memory. + /// + /// + [AutoGenerated(Category = "ExtSubtexture", Version = "1.0", EntryPoint = "glTexSubImage2DEXT")] + public static + void TexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + + /// + /// 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_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, 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_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_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, 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 = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexImage1DEXT")] public static void CopyTexImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) @@ -39667,6 +71292,45 @@ namespace OpenTK.Graphics Delegates.glCopyTexImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); } + + /// + /// 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_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_COMPRESSED_ALPHA, GL_COMPRESSED_LUMINANCE, GL_COMPRESSED_LUMINANCE_ALPHA, GL_COMPRESSED_INTENSITY, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, 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_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_SLUMINANCE, GL_SLUMINANCE8, GL_SLUMINANCE_ALPHA, GL_SLUMINANCE8_ALPHA8, 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 = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexImage2DEXT")] public static void CopyTexImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) @@ -39674,6 +71338,35 @@ namespace OpenTK.Graphics Delegates.glCopyTexImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); } + + /// + /// 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 = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage1DEXT")] public static void CopyTexSubImage1D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) @@ -39681,6 +71374,45 @@ namespace OpenTK.Graphics Delegates.glCopyTexSubImage1DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); } + + /// + /// 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 = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage2DEXT")] public static void CopyTexSubImage2D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) @@ -39688,6 +71420,50 @@ namespace OpenTK.Graphics Delegates.glCopyTexSubImage2DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); } + + /// + /// 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 = "ExtCopyTexture", Version = "1.0", EntryPoint = "glCopyTexSubImage3DEXT")] public static void CopyTexSubImage3D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) @@ -39695,6 +71471,35 @@ namespace OpenTK.Graphics Delegates.glCopyTexSubImage3DEXT((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); } + + /// + /// 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 = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] public static void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) @@ -39705,13 +71510,43 @@ namespace OpenTK.Graphics } } + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] public static - void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object values) + void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); @@ -39723,6 +71558,169 @@ namespace OpenTK.Graphics } } + + /// + /// Get histogram table + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// + /// + /// + /// If GL_TRUE, each component counter that is actually returned is reset to zero. (Other counters are unaffected.) If GL_FALSE, none of the counters in the histogram table is modified. + /// + /// + /// + /// + /// The format of values to be returned in values. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of values to be returned in values. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// A pointer to storage for the returned histogram table. + /// + /// + [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) + where T4 : struct + { + unsafe + { + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + } + } + + + /// + /// 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 = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) + where T4 : struct + { + unsafe + { + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + } + } + + + /// + /// 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 = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramEXT")] + public static + void GetHistogram(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) + where T4 : struct + { + unsafe + { + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + } + } + + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] public static void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single[] @params) @@ -39736,6 +71734,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] public static void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Single @params) @@ -39750,6 +71767,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterfvEXT")] public static @@ -39758,6 +71794,25 @@ namespace OpenTK.Graphics Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params); } + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] public static void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32[] @params) @@ -39771,6 +71826,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] public static void GetHistogramParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Int32 @params) @@ -39785,6 +71859,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get histogram parameters + /// + /// + /// + /// Must be one of GL_HISTOGRAM or GL_PROXY_HISTOGRAM. + /// + /// + /// + /// + /// The name of the parameter to be retrieved. Must be one of GL_HISTOGRAM_WIDTH, GL_HISTOGRAM_FORMAT, GL_HISTOGRAM_RED_SIZE, GL_HISTOGRAM_GREEN_SIZE, GL_HISTOGRAM_BLUE_SIZE, GL_HISTOGRAM_ALPHA_SIZE, GL_HISTOGRAM_LUMINANCE_SIZE, or GL_HISTOGRAM_SINK. + /// + /// + /// + /// + /// Pointer to storage for the returned values. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetHistogramParameterivEXT")] public static @@ -39793,6 +71886,35 @@ namespace OpenTK.Graphics Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params); } + + /// + /// 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 = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] public static void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr values) @@ -39803,13 +71925,43 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] public static - void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object values) + void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T4 values) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle values_ptr = System.Runtime.InteropServices.GCHandle.Alloc(values, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); try { Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); @@ -39821,6 +71973,169 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[] values) + where T4 : struct + { + unsafe + { + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + } + } + + + /// + /// 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 = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,] values) + where T4 : struct + { + unsafe + { + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + } + } + + + /// + /// 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 = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxEXT")] + public static + void GetMinmax(OpenTK.Graphics.ExtHistogram target, bool reset, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T4[,,] values) + where T4 : struct + { + unsafe + { + GCHandle values_ptr = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)values_ptr.AddrOfPinnedObject()); + } + finally + { + values_ptr.Free(); + } + } + } + + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] public static void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Single[] @params) @@ -39834,6 +72149,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] public static void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Single @params) @@ -39848,6 +72182,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterfvEXT")] public static @@ -39856,6 +72209,25 @@ namespace OpenTK.Graphics Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Single*)@params); } + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] public static void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] Int32[] @params) @@ -39869,6 +72241,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get minmax parameters + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_MINMAX_FORMAT or GL_MINMAX_SINK. + /// + /// + /// + /// + /// A pointer to storage for the retrieved parameters. + /// + /// [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] public static void GetMinmaxParameter(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.ExtHistogram pname, [Out] out Int32 @params) @@ -39883,6 +72274,25 @@ namespace OpenTK.Graphics } } + + /// + /// 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 = "ExtHistogram", Version = "1.0", EntryPoint = "glGetMinmaxParameterivEXT")] public static @@ -39891,6 +72301,30 @@ namespace OpenTK.Graphics Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.ExtHistogram)pname, (Int32*)@params); } + + /// + /// 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 = "ExtHistogram", Version = "1.0", EntryPoint = "glHistogramEXT")] public static void Histogram(OpenTK.Graphics.ExtHistogram target, Int32 width, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) @@ -39898,6 +72332,25 @@ namespace OpenTK.Graphics Delegates.glHistogramEXT((OpenTK.Graphics.ExtHistogram)target, (Int32)width, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); } + + /// + /// 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 = "ExtHistogram", Version = "1.0", EntryPoint = "glMinmaxEXT")] public static void Minmax(OpenTK.Graphics.ExtHistogram target, OpenTK.Graphics.PixelInternalFormat internalformat, bool sink) @@ -39905,6 +72358,15 @@ namespace OpenTK.Graphics Delegates.glMinmaxEXT((OpenTK.Graphics.ExtHistogram)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (bool)sink); } + + /// + /// Reset histogram table entries to zero + /// + /// + /// + /// Must be GL_HISTOGRAM. + /// + /// [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glResetHistogramEXT")] public static void ResetHistogram(OpenTK.Graphics.ExtHistogram target) @@ -39912,6 +72374,15 @@ namespace OpenTK.Graphics Delegates.glResetHistogramEXT((OpenTK.Graphics.ExtHistogram)target); } + + /// + /// Reset minmax table entries to initial values + /// + /// + /// + /// Must be GL_MINMAX. + /// + /// [AutoGenerated(Category = "ExtHistogram", Version = "1.0", EntryPoint = "glResetMinmaxEXT")] public static void ResetMinmax(OpenTK.Graphics.ExtHistogram target) @@ -39919,6 +72390,40 @@ namespace OpenTK.Graphics Delegates.glResetMinmaxEXT((OpenTK.Graphics.ExtHistogram)target); } + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] public static void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) @@ -39929,13 +72434,48 @@ namespace OpenTK.Graphics } } + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] public static - void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object image) + void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 image) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); @@ -39947,6 +72487,204 @@ namespace OpenTK.Graphics } } + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] image) + where T5 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] image) + where T5 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// Define a one-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_1D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_INTENSITY, GL_RGB, and GL_RGBA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter1DEXT")] + public static + void ConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] image) + where T5 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] public static void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr image) @@ -39957,13 +72695,53 @@ namespace OpenTK.Graphics } } + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] public static - void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object image) + void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 image) + where T6 : struct { unsafe { - System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); @@ -39975,6 +72753,202 @@ namespace OpenTK.Graphics } } + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] image) + where T6 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] image) + where T6 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// Define a two-dimensional convolution filter + /// + /// + /// + /// Must be GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The width of the pixel array referenced by data. + /// + /// + /// + /// + /// The height of the pixel array referenced by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in data. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a two-dimensional array of pixel data that is processed to build the convolution filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionFilter2DEXT")] + public static + void ConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] image) + where T6 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// 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 = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameterfEXT")] public static void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Single @params) @@ -40016,6 +72990,28 @@ namespace OpenTK.Graphics Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params); } + + /// + /// 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 = "ExtConvolution", Version = "1.0", EntryPoint = "glConvolutionParameteriEXT")] public static void ConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, Int32 @params) @@ -40057,6 +73053,30 @@ namespace OpenTK.Graphics Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params); } + + /// + /// 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 = "ExtConvolution", Version = "1.0", EntryPoint = "glCopyConvolutionFilter1DEXT")] public static void CopyConvolutionFilter1D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) @@ -40064,6 +73084,35 @@ namespace OpenTK.Graphics Delegates.glCopyConvolutionFilter1DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); } + + /// + /// 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 = "ExtConvolution", Version = "1.0", EntryPoint = "glCopyConvolutionFilter2DEXT")] public static void CopyConvolutionFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) @@ -40071,6 +73120,30 @@ namespace OpenTK.Graphics Delegates.glCopyConvolutionFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); } + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] public static void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr image) @@ -40081,13 +73154,38 @@ namespace OpenTK.Graphics } } + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] public static - void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object image) + void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 image) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle image_ptr = System.Runtime.InteropServices.GCHandle.Alloc(image, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); try { Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); @@ -40099,6 +73197,154 @@ namespace OpenTK.Graphics } } + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] image) + where T3 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] image) + where T3 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// Get current 1D or 2D convolution filter kernel + /// + /// + /// + /// The filter to be retrieved. Must be one of GL_CONVOLUTION_1D or GL_CONVOLUTION_2D. + /// + /// + /// + /// + /// Format of the output image. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output image. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the output image. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionFilterEXT")] + public static + void GetConvolutionFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] image) + where T3 : struct + { + unsafe + { + GCHandle image_ptr = GCHandle.Alloc(image, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)image_ptr.AddrOfPinnedObject()); + } + finally + { + image_ptr.Free(); + } + } + } + + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] public static void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Single[] @params) @@ -40112,6 +73358,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] public static void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] out Single @params) @@ -40126,6 +73391,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterfvEXT")] public static @@ -40134,6 +73418,25 @@ namespace OpenTK.Graphics Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Single*)@params); } + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] public static void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] Int32[] @params) @@ -40147,6 +73450,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] public static void GetConvolutionParameter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.ExtConvolution pname, [Out] out Int32 @params) @@ -40161,6 +73483,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get convolution parameters + /// + /// + /// + /// The filter whose parameters are to be retrieved. Must be one of GL_CONVOLUTION_1D, GL_CONVOLUTION_2D, or GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The parameter to be retrieved. Must be one of GL_CONVOLUTION_BORDER_MODE, GL_CONVOLUTION_BORDER_COLOR, GL_CONVOLUTION_FILTER_SCALE, GL_CONVOLUTION_FILTER_BIAS, GL_CONVOLUTION_FORMAT, GL_CONVOLUTION_WIDTH, GL_CONVOLUTION_HEIGHT, GL_MAX_CONVOLUTION_WIDTH, or GL_MAX_CONVOLUTION_HEIGHT. + /// + /// + /// + /// + /// Pointer to storage for the parameters to be retrieved. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetConvolutionParameterivEXT")] public static @@ -40169,6 +73510,40 @@ namespace OpenTK.Graphics Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.ExtConvolution)pname, (Int32*)@params); } + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [Out] IntPtr span) @@ -40179,15 +73554,488 @@ namespace OpenTK.Graphics } } + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] public static - void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object row, [In, Out] object column, [In, Out] object span) + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] ref T5 span) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle span_ptr = System.Runtime.InteropServices.GCHandle.Alloc(span, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + } + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[] span) + where T5 : struct + { + unsafe + { + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + } + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,] span) + where T5 : struct + { + unsafe + { + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + } + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [Out] IntPtr column, [In, Out] T5[,,] span) + where T5 : struct + { + unsafe + { + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + span_ptr.Free(); + } + } + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] ref T4 column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T4 : struct + where T5 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle span_ptr = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + unsafe + { + 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.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); @@ -40201,6 +74049,227 @@ namespace OpenTK.Graphics } } + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + unsafe + { + 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.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + unsafe + { + 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.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// Get separable convolution filter kernel images + /// + /// + /// + /// The separable filter to be retrieved. Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// Format of the output images. Must be one of GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR GL_RGBA, GL_BGRA, GL_LUMINANCE, or GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to storage for the row filter image. + /// + /// + /// + /// + /// Pointer to storage for the column filter image. + /// + /// + /// + /// + /// Pointer to storage for the span filter image (currently unused). + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glGetSeparableFilterEXT")] + public static + void GetSeparableFilter(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] row, [In, Out] T4[,,] column, [In, Out] T5[,,] span) + where T3 : struct + where T4 : struct + where T5 : struct + { + unsafe + { + 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.ExtConvolution)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject(), (IntPtr)span_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + span_ptr.Free(); + } + } + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, IntPtr column) @@ -40211,14 +74280,312 @@ namespace OpenTK.Graphics } } + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] public static - void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object row, [In, Out] object column) + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] ref T7 column) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle row_ptr = System.Runtime.InteropServices.GCHandle.Alloc(row, System.Runtime.InteropServices.GCHandleType.Pinned); - System.Runtime.InteropServices.GCHandle column_ptr = System.Runtime.InteropServices.GCHandle.Alloc(column, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + } + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[] column) + where T7 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + } + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,] column) + where T7 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + } + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr row, [In, Out] T7[,,] column) + where T7 : struct + { + unsafe + { + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row, (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + column_ptr.Free(); + } + } + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T6 row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct + { + unsafe + { + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); try { Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); @@ -40231,6 +74598,223 @@ namespace OpenTK.Graphics } } + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[] row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct + { + unsafe + { + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + } + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,] row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct + { + unsafe + { + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + } + } + + + /// + /// Define a separable two-dimensional convolution filter + /// + /// + /// + /// Must be GL_SEPARABLE_2D. + /// + /// + /// + /// + /// The internal format of the convolution filter kernel. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, or GL_RGBA16. + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by row. (This is the width of the separable filter kernel.) + /// + /// + /// + /// + /// The number of elements in the pixel array referenced by column. (This is the height of the separable filter kernel.) + /// + /// + /// + /// + /// The format of the pixel data in row and column. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_RGB, GL_BGR, GL_RGBA, GL_BGRA, GL_INTENSITY, GL_LUMINANCE, and GL_LUMINANCE_ALPHA. + /// + /// + /// + /// + /// The type of the pixel data in row and column. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the row filter kernel. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the column filter kernel. + /// + /// + [AutoGenerated(Category = "ExtConvolution", Version = "1.0", EntryPoint = "glSeparableFilter2DEXT")] + public static + void SeparableFilter2D(OpenTK.Graphics.ExtConvolution target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T6[,,] row, [In, Out] T7[,,] column) + where T6 : struct + where T7 : struct + { + unsafe + { + GCHandle row_ptr = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle column_ptr = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.ExtConvolution)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)row_ptr.AddrOfPinnedObject(), (IntPtr)column_ptr.AddrOfPinnedObject()); + } + finally + { + row_ptr.Free(); + column_ptr.Free(); + } + } + } + + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static @@ -40246,6 +74830,25 @@ namespace OpenTK.Graphics } } + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static bool AreTexturesResident(Int32 n, Int32[] textures, [Out] bool[] residences) @@ -40260,6 +74863,25 @@ namespace OpenTK.Graphics } } + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static @@ -40277,6 +74899,25 @@ namespace OpenTK.Graphics } } + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static bool AreTexturesResident(Int32 n, ref Int32 textures, [Out] out bool residences) @@ -40293,6 +74934,25 @@ namespace OpenTK.Graphics } } + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static @@ -40301,6 +74961,25 @@ namespace OpenTK.Graphics return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); } + + /// + /// Determine if textures are loaded in texture memory + /// + /// + /// + /// Specifies the number of textures to be queried. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be queried. + /// + /// + /// + /// + /// Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glAreTexturesResidentEXT")] public static @@ -40309,6 +74988,20 @@ namespace OpenTK.Graphics return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); } + + /// + /// 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_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glBindTextureEXT")] public static @@ -40317,6 +75010,20 @@ namespace OpenTK.Graphics Delegates.glBindTextureEXT((OpenTK.Graphics.TextureTarget)target, (UInt32)texture); } + + /// + /// 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_CUBE_MAP. + /// + /// + /// + /// + /// Specifies the name of a texture. + /// + /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glBindTextureEXT")] public static void BindTexture(OpenTK.Graphics.TextureTarget target, Int32 texture) @@ -40324,6 +75031,20 @@ namespace OpenTK.Graphics Delegates.glBindTextureEXT((OpenTK.Graphics.TextureTarget)target, (UInt32)texture); } + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] public static @@ -40338,6 +75059,20 @@ namespace OpenTK.Graphics } } + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] public static void DeleteTextures(Int32 n, Int32[] textures) @@ -40351,6 +75086,20 @@ namespace OpenTK.Graphics } } + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] public static @@ -40365,6 +75114,20 @@ namespace OpenTK.Graphics } } + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] public static void DeleteTextures(Int32 n, ref Int32 textures) @@ -40378,6 +75141,20 @@ namespace OpenTK.Graphics } } + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] public static @@ -40386,6 +75163,20 @@ namespace OpenTK.Graphics Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); } + + /// + /// Delete named textures + /// + /// + /// + /// Specifies the number of textures to be deleted. + /// + /// + /// + /// + /// Specifies an array of textures to be deleted. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glDeleteTexturesEXT")] public static @@ -40394,6 +75185,20 @@ namespace OpenTK.Graphics Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); } + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static @@ -40408,6 +75213,20 @@ namespace OpenTK.Graphics } } + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static void GenTextures(Int32 n, [Out] Int32[] textures) @@ -40421,6 +75240,20 @@ namespace OpenTK.Graphics } } + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static @@ -40436,6 +75269,20 @@ namespace OpenTK.Graphics } } + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static void GenTextures(Int32 n, [Out] out Int32 textures) @@ -40450,6 +75297,20 @@ namespace OpenTK.Graphics } } + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static @@ -40458,6 +75319,20 @@ namespace OpenTK.Graphics Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); } + + /// + /// Generate texture names + /// + /// + /// + /// Specifies the number of texture names to be generated. + /// + /// + /// + /// + /// Specifies an array in which the generated texture names are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glGenTexturesEXT")] public static @@ -40466,6 +75341,15 @@ namespace OpenTK.Graphics Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); } + + /// + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glIsTextureEXT")] public static @@ -40474,6 +75358,15 @@ namespace OpenTK.Graphics return Delegates.glIsTextureEXT((UInt32)texture); } + + /// + /// Determine if a name corresponds to a texture + /// + /// + /// + /// Specifies a value that may be the name of a texture. + /// + /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glIsTextureEXT")] public static bool IsTexture(Int32 texture) @@ -40481,6 +75374,25 @@ namespace OpenTK.Graphics return Delegates.glIsTextureEXT((UInt32)texture); } + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static @@ -40496,6 +75408,25 @@ namespace OpenTK.Graphics } } + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static void PrioritizeTextures(Int32 n, Int32[] textures, Single[] priorities) @@ -40510,6 +75441,25 @@ namespace OpenTK.Graphics } } + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static @@ -40525,6 +75475,25 @@ namespace OpenTK.Graphics } } + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static void PrioritizeTextures(Int32 n, ref Int32 textures, ref Single priorities) @@ -40539,6 +75508,25 @@ namespace OpenTK.Graphics } } + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static @@ -40547,6 +75535,25 @@ namespace OpenTK.Graphics Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); } + + /// + /// Set texture residence priority + /// + /// + /// + /// Specifies the number of textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the names of the textures to be prioritized. + /// + /// + /// + /// + /// Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtTextureObject", Version = "1.0", EntryPoint = "glPrioritizeTexturesEXT")] public static @@ -40555,6 +75562,15 @@ namespace OpenTK.Graphics Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); } + + /// + /// Render a vertex using the specified vertex array element + /// + /// + /// + /// Specifies an index into the enabled vertex data arrays. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glArrayElementEXT")] public static void ArrayElement(Int32 i) @@ -40562,6 +75578,30 @@ namespace OpenTK.Graphics Delegates.glArrayElementEXT((Int32)i); } + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] public static void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer) @@ -40572,13 +75612,38 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] object pointer) + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -40590,6 +75655,154 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glColorPointerEXT")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the starting index in the enabled arrays. + /// + /// + /// + /// + /// Specifies the number of indices to be rendered. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glDrawArraysEXT")] public static void DrawArrays(OpenTK.Graphics.BeginMode mode, Int32 first, Int32 count) @@ -40597,6 +75810,20 @@ namespace OpenTK.Graphics Delegates.glDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32)first, (Int32)count); } + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] public static void EdgeFlagPointer(Int32 stride, Int32 count, bool[] pointer) @@ -40610,6 +75837,20 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] public static void EdgeFlagPointer(Int32 stride, Int32 count, ref bool pointer) @@ -40623,6 +75864,20 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of edge flags + /// + /// + /// + /// Specifies the byte offset between consecutive edge flags. If stride is 0, the edge flags are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first edge flag in the array. The initial value is 0. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glEdgeFlagPointerEXT")] public static @@ -40643,11 +75898,12 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] public static - void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] object @params) + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] ref T1 @params) + where T1 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); @@ -40659,6 +75915,82 @@ namespace OpenTK.Graphics } } + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[] @params) + where T1 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,] @params) + where T1 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glGetPointervEXT")] + public static + void GetPointer(OpenTK.Graphics.GetPointervPName pname, [In, Out] T1[,,] @params) + where T1 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointervEXT((OpenTK.Graphics.GetPointervPName)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] public static void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer) @@ -40669,13 +76001,33 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] public static - void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] object pointer) + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] ref T3 pointer) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -40687,6 +76039,139 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of color indexes + /// + /// + /// + /// Specifies the data type of each color index in the array. Symbolic constants GL_UNSIGNED_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive color indexes. If stride is 0, the color indexes are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first index in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glIndexPointerEXT")] + public static + void IndexPointer(OpenTK.Graphics.IndexPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerEXT((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] public static void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer) @@ -40697,13 +76182,33 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] object pointer) + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] ref T3 pointer) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -40715,6 +76220,144 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glNormalPointerEXT")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, Int32 stride, Int32 count, [In, Out] T3[,,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerEXT((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] public static void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer) @@ -40725,13 +76368,38 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] object pointer) + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -40743,6 +76411,159 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glTexCoordPointerEXT")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] public static void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer) @@ -40753,13 +76574,38 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] object pointer) + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] ref T4 pointer) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -40771,6 +76617,144 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtVertexArray", Version = "1.0", EntryPoint = "glVertexPointerEXT")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, Int32 count, [In, Out] T4[,,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "ExtBlendMinmax", Version = "1.0", EntryPoint = "glBlendEquationEXT")] public static void BlendEquation(OpenTK.Graphics.ExtBlendMinmax mode) @@ -40778,6 +76762,20 @@ namespace OpenTK.Graphics Delegates.glBlendEquationEXT((OpenTK.Graphics.ExtBlendMinmax)mode); } + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// [AutoGenerated(Category = "ExtPointParameters", Version = "1.0", EntryPoint = "glPointParameterfEXT")] public static void PointParameter(OpenTK.Graphics.ExtPointParameters pname, Single param) @@ -40819,6 +76817,40 @@ namespace OpenTK.Graphics Delegates.glPointParameterfvEXT((OpenTK.Graphics.ExtPointParameters)pname, (Single*)@params); } + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static void ColorSubTable(OpenTK.Graphics.ExtColorSubtable target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr data) @@ -40829,13 +76861,48 @@ namespace OpenTK.Graphics } } + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] public static - void ColorSubTable(OpenTK.Graphics.ExtColorSubtable target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object data) + void ColorSubTable(OpenTK.Graphics.ExtColorSubtable target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 data) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glColorSubTableEXT((OpenTK.Graphics.ExtColorSubtable)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -40847,6 +76914,189 @@ namespace OpenTK.Graphics } } + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] + public static + void ColorSubTable(OpenTK.Graphics.ExtColorSubtable target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] data) + where T5 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTableEXT((OpenTK.Graphics.ExtColorSubtable)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] + public static + void ColorSubTable(OpenTK.Graphics.ExtColorSubtable target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] data) + where T5 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTableEXT((OpenTK.Graphics.ExtColorSubtable)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Respecify a portion of a color table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The starting index of the portion of the color table to be replaced. + /// + /// + /// + /// + /// The number of table entries to replace. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to replace the specified region of the color table. + /// + /// + [AutoGenerated(Category = "ExtColorSubtable", Version = "1.2", EntryPoint = "glColorSubTableEXT")] + public static + void ColorSubTable(OpenTK.Graphics.ExtColorSubtable target, Int32 start, Int32 count, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] data) + where T5 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glColorSubTableEXT((OpenTK.Graphics.ExtColorSubtable)target, (Int32)start, (Int32)count, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// 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 = "ExtColorSubtable", Version = "1.2", EntryPoint = "glCopyColorSubTableEXT")] public static void CopyColorSubTable(OpenTK.Graphics.ExtColorSubtable target, Int32 start, Int32 x, Int32 y, Int32 width) @@ -40854,6 +77104,40 @@ namespace OpenTK.Graphics Delegates.glCopyColorSubTableEXT((OpenTK.Graphics.ExtColorSubtable)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); } + + /// + /// 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 = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static void ColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) @@ -40864,13 +77148,48 @@ namespace OpenTK.Graphics } } + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] public static - void ColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object table) + void ColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { Delegates.glColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); @@ -40882,6 +77201,189 @@ namespace OpenTK.Graphics } } + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] + public static + void ColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) + where T5 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// 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 = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] + public static + void ColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) + where T5 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// 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 = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glColorTableEXT")] + public static + void ColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) + where T5 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] public static void GetColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr data) @@ -40892,13 +77394,38 @@ namespace OpenTK.Graphics } } + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] public static - void GetColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object data) + void GetColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 data) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glGetColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -40910,6 +77437,154 @@ namespace OpenTK.Graphics } } + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableEXT")] + public static + void GetColorTable(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] public static void GetColorTableParameter(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.ExtPalettedTexture pname, [Out] Int32[] @params) @@ -40923,6 +77598,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] public static void GetColorTableParameter(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.ExtPalettedTexture pname, [Out] out Int32 @params) @@ -40937,6 +77631,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterivEXT")] public static @@ -40945,6 +77658,25 @@ namespace OpenTK.Graphics Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.ExtPalettedTexture)target, (OpenTK.Graphics.ExtPalettedTexture)pname, (Int32*)@params); } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] public static void GetColorTableParameter(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.ExtPalettedTexture pname, [Out] Single[] @params) @@ -40958,6 +77690,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] public static void GetColorTableParameter(OpenTK.Graphics.ExtPalettedTexture target, OpenTK.Graphics.ExtPalettedTexture pname, [Out] out Single @params) @@ -40972,6 +77723,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtPalettedTexture", Version = "1.1", EntryPoint = "glGetColorTableParameterfvEXT")] public static @@ -41078,6 +77848,40 @@ namespace OpenTK.Graphics Delegates.glCullParameterfvEXT((OpenTK.Graphics.ExtCullVertex)pname, (Single*)@params); } + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static @@ -41089,6 +77893,40 @@ namespace OpenTK.Graphics } } + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices) @@ -41099,14 +77937,49 @@ namespace OpenTK.Graphics } } + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices) + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); @@ -41118,13 +77991,369 @@ namespace OpenTK.Graphics } } + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] public static - void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices) + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T5 indices) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + where T5 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[] indices) + where T5 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) + where T5 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,] indices) + where T5 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) + where T5 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + } + } + + + /// + /// Render primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Specifies the minimum array index contained in indices. + /// + /// + /// + /// + /// Specifies the maximum array index contained in indices. + /// + /// + /// + /// + /// Specifies the number of elements to be rendered. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + [AutoGenerated(Category = "ExtDrawRangeElements", Version = "1.1", EntryPoint = "glDrawRangeElementsEXT")] + public static + void DrawRangeElements(OpenTK.Graphics.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T5[,,] indices) + where T5 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); @@ -41239,6 +78468,15 @@ namespace OpenTK.Graphics Delegates.glPixelTransformParameterfvEXT((OpenTK.Graphics.ExtPixelTransform)target, (OpenTK.Graphics.ExtPixelTransform)pname, (Single*)@params); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bEXT")] public static @@ -41247,6 +78485,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3bEXT((SByte)red, (SByte)green, (SByte)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] public static @@ -41261,6 +78508,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] public static @@ -41275,6 +78531,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3bvEXT")] public static @@ -41283,6 +78548,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3bvEXT((SByte*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dEXT")] public static void SecondaryColor3(Double red, Double green, Double blue) @@ -41290,6 +78564,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3dEXT((Double)red, (Double)green, (Double)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] public static void SecondaryColor3(Double[] v) @@ -41303,6 +78586,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] public static void SecondaryColor3(ref Double v) @@ -41316,6 +78608,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3dvEXT")] public static @@ -41324,6 +78625,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3dvEXT((Double*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fEXT")] public static void SecondaryColor3(Single red, Single green, Single blue) @@ -41331,6 +78641,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3fEXT((Single)red, (Single)green, (Single)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] public static void SecondaryColor3(Single[] v) @@ -41344,6 +78663,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] public static void SecondaryColor3(ref Single v) @@ -41357,6 +78685,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3fvEXT")] public static @@ -41365,6 +78702,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3fvEXT((Single*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3iEXT")] public static void SecondaryColor3(Int32 red, Int32 green, Int32 blue) @@ -41372,6 +78718,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3iEXT((Int32)red, (Int32)green, (Int32)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] public static void SecondaryColor3(Int32[] v) @@ -41385,6 +78740,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] public static void SecondaryColor3(ref Int32 v) @@ -41398,6 +78762,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ivEXT")] public static @@ -41406,6 +78779,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3ivEXT((Int32*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3sEXT")] public static void SecondaryColor3(Int16 red, Int16 green, Int16 blue) @@ -41413,6 +78795,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3sEXT((Int16)red, (Int16)green, (Int16)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] public static void SecondaryColor3(Int16[] v) @@ -41426,6 +78817,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] public static void SecondaryColor3(ref Int16 v) @@ -41439,6 +78839,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3svEXT")] public static @@ -41447,6 +78856,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3svEXT((Int16*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubEXT")] public static void SecondaryColor3(Byte red, Byte green, Byte blue) @@ -41454,6 +78872,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3ubEXT((Byte)red, (Byte)green, (Byte)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] public static void SecondaryColor3(Byte[] v) @@ -41467,6 +78894,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] public static void SecondaryColor3(ref Byte v) @@ -41480,6 +78916,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3ubvEXT")] public static @@ -41488,6 +78933,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3ubvEXT((Byte*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3uiEXT")] public static @@ -41496,6 +78950,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3uiEXT((UInt32)red, (UInt32)green, (UInt32)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3uivEXT")] public static @@ -41510,6 +78973,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3uivEXT")] public static @@ -41524,6 +78996,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3uivEXT")] public static @@ -41532,6 +79013,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3uivEXT((UInt32*)v); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3usEXT")] public static @@ -41540,6 +79030,15 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3usEXT((UInt16)red, (UInt16)green, (UInt16)blue); } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3usvEXT")] public static @@ -41554,6 +79053,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3usvEXT")] public static @@ -41568,6 +79076,15 @@ namespace OpenTK.Graphics } } + + /// + /// Set the current secondary color + /// + /// + /// + /// Specify new red, green, and blue values for the current secondary color. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColor3usvEXT")] public static @@ -41576,6 +79093,30 @@ namespace OpenTK.Graphics Delegates.glSecondaryColor3usvEXT((UInt16*)v); } + + /// + /// 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 = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] public static void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, IntPtr pointer) @@ -41586,13 +79127,167 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of secondary colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] public static - void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] object pointer) + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// 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 = "ExtSecondaryColor", Version = "1.1", EntryPoint = "glSecondaryColorPointerEXT")] + public static + void SecondaryColorPointer(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -41611,6 +79306,30 @@ namespace OpenTK.Graphics Delegates.glTextureNormalEXT((OpenTK.Graphics.ExtTexturePerturbNormal)mode); } + + /// + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] public static void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] Int32[] first, [Out] Int32[] count, Int32 primcount) @@ -41625,6 +79344,30 @@ namespace OpenTK.Graphics } } + + /// + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] public static void MultiDrawArrays(OpenTK.Graphics.BeginMode mode, [Out] out Int32 first, [Out] out Int32 count, Int32 primcount) @@ -41641,6 +79384,30 @@ namespace OpenTK.Graphics } } + + /// + /// Render multiple sets of primitives from array data + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of starting indices in the enabled arrays. + /// + /// + /// + /// + /// Points to an array of the number of indices to be rendered. + /// + /// + /// + /// + /// Specifies the size of the first and count + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawArraysEXT")] public static @@ -41649,6 +79416,35 @@ namespace OpenTK.Graphics Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount); } + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) @@ -41662,15 +79458,45 @@ namespace OpenTK.Graphics } } + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount) + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct { unsafe { fixed (Int32* count_ptr = count) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); @@ -41683,6 +79509,188 @@ namespace OpenTK.Graphics } } + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, IntPtr indices, Int32 primcount) @@ -41696,15 +79704,45 @@ namespace OpenTK.Graphics } } + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static - void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount) + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct { unsafe { fixed (Int32* count_ptr = &count) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); @@ -41717,6 +79755,188 @@ namespace OpenTK.Graphics } } + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + void MultiDrawElements(OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static @@ -41725,12 +79945,42 @@ namespace OpenTK.Graphics Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); } + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] public static - unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount) + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); @@ -41741,6 +79991,153 @@ namespace OpenTK.Graphics } } + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + + + /// + /// Render multiple sets of primitives by specifying indices of array data elements + /// + /// + /// + /// Specifies what kind of primitives to render. Symbolic constants GL_POINTS, GL_LINE_STRIP, GL_LINE_LOOP, GL_LINES, GL_TRIANGLE_STRIP, GL_TRIANGLE_FAN, GL_TRIANGLES, GL_QUAD_STRIP, GL_QUADS, and GL_POLYGON are accepted. + /// + /// + /// + /// + /// Points to an array of the elements counts. + /// + /// + /// + /// + /// Specifies the type of the values in indices. Must be one of GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, or GL_UNSIGNED_INT. + /// + /// + /// + /// + /// Specifies a pointer to the location where the indices are stored. + /// + /// + /// + /// + /// Specifies the size of the count array. + /// + /// + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtMultiDrawArrays", Version = "1.1", EntryPoint = "glMultiDrawElementsEXT")] + public static + unsafe void MultiDrawElements(OpenTK.Graphics.BeginMode mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + + + /// + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordfEXT")] public static void FogCoord(Single coord) @@ -41782,6 +80179,15 @@ namespace OpenTK.Graphics Delegates.glFogCoordfvEXT((Single*)coord); } + + /// + /// Set the current fog coordinates + /// + /// + /// + /// Specify the fog distance. + /// + /// [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoorddEXT")] public static void FogCoord(Double coord) @@ -41823,6 +80229,25 @@ namespace OpenTK.Graphics Delegates.glFogCoorddvEXT((Double*)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 = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] public static void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, IntPtr pointer) @@ -41833,13 +80258,147 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] public static - void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] object pointer) + void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of fog coordinates + /// + /// + /// + /// Specifies the data type of each fog coordinate. Symbolic constants GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive fog coordinates. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first fog coordinate in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "ExtFogCoord", Version = "1.1", EntryPoint = "glFogCoordPointerEXT")] + public static + void FogCoordPointer(OpenTK.Graphics.ExtFogCoord type, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glFogCoordPointerEXT((OpenTK.Graphics.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -42361,11 +80920,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] public static - void TangentPointer(OpenTK.Graphics.ExtCoordinateFrame type, Int32 stride, [In, Out] object pointer) + void TangentPointer(OpenTK.Graphics.ExtCoordinateFrame type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTangentPointerEXT((OpenTK.Graphics.ExtCoordinateFrame)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] + public static + void TangentPointer(OpenTK.Graphics.ExtCoordinateFrame type, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTangentPointerEXT((OpenTK.Graphics.ExtCoordinateFrame)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] + public static + void TangentPointer(OpenTK.Graphics.ExtCoordinateFrame type, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTangentPointerEXT((OpenTK.Graphics.ExtCoordinateFrame)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glTangentPointerEXT")] + public static + void TangentPointer(OpenTK.Graphics.ExtCoordinateFrame type, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glTangentPointerEXT((OpenTK.Graphics.ExtCoordinateFrame)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -42389,11 +81006,12 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] public static - void BinormalPointer(OpenTK.Graphics.ExtCoordinateFrame type, Int32 stride, [In, Out] object pointer) + void BinormalPointer(OpenTK.Graphics.ExtCoordinateFrame type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glBinormalPointerEXT((OpenTK.Graphics.ExtCoordinateFrame)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -42405,6 +81023,87 @@ namespace OpenTK.Graphics } } + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(OpenTK.Graphics.ExtCoordinateFrame type, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glBinormalPointerEXT((OpenTK.Graphics.ExtCoordinateFrame)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(OpenTK.Graphics.ExtCoordinateFrame type, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glBinormalPointerEXT((OpenTK.Graphics.ExtCoordinateFrame)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtCoordinateFrame", Version = "1.1", EntryPoint = "glBinormalPointerEXT")] + public static + void BinormalPointer(OpenTK.Graphics.ExtCoordinateFrame type, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glBinormalPointerEXT((OpenTK.Graphics.ExtCoordinateFrame)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue 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. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. + /// + /// [AutoGenerated(Category = "ExtBlendFuncSeparate", Version = "1.0", EntryPoint = "glBlendFuncSeparateEXT")] public static void BlendFuncSeparate(OpenTK.Graphics.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.ExtBlendFuncSeparate dfactorAlpha) @@ -42465,11 +81164,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] public static - void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] object pointer) + void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] ref T3 pointer) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] T3[] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] T3[,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexWeighting", Version = "1.1", EntryPoint = "glVertexWeightPointerEXT")] + public static + void VertexWeightPointer(Int32 size, OpenTK.Graphics.ExtVertexWeighting type, Int32 stride, [In, Out] T3[,,] pointer) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -42698,11 +81455,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static - void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] object addr) + void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); @@ -42716,11 +81474,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] public static - void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] object addr) + void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) + where T2 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) + where T2 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) + where T2 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) + where T2 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) + where T2 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetInvariantEXT")] + public static + void SetInvariant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) + where T2 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); @@ -42756,11 +81632,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] public static - void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] object addr) + void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); @@ -42774,11 +81651,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] public static - void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] object addr) + void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] ref T2 addr) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) + where T2 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[] addr) + where T2 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) + where T2 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,] addr) + where T2 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(UInt32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) + where T2 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glSetLocalConstantEXT")] + public static + void SetLocalConstant(Int32 id, OpenTK.Graphics.ExtVertexShader type, [In, Out] T2[,,] addr) + where T2 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (IntPtr)addr_ptr.AddrOfPinnedObject()); @@ -43272,11 +82267,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] object addr) + void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] ref T3 addr) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); @@ -43290,11 +82286,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] public static - void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] object addr) + void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] ref T3 addr) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle addr_ptr = System.Runtime.InteropServices.GCHandle.Alloc(addr, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[] addr) + where T3 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[] addr) + where T3 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[,] addr) + where T3 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[,] addr) + where T3 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader type, UInt32 stride, [In, Out] T3[,,] addr) + where T3 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); + } + finally + { + addr_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glVariantPointerEXT")] + public static + void VariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader type, Int32 stride, [In, Out] T3[,,] addr) + where T3 : struct + { + unsafe + { + GCHandle addr_ptr = GCHandle.Alloc(addr, GCHandleType.Pinned); try { Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr_ptr.AddrOfPinnedObject()); @@ -43626,11 +82740,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] public static - void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] object data) + void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] ref T2 data) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -43644,11 +82759,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] public static - void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] object data) + void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] ref T2 data) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[] data) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[] data) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,] data) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,] data) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(UInt32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,,] data) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtVertexShader", Version = "1.2", EntryPoint = "glGetVariantPointervEXT")] + public static + void GetVariantPointer(Int32 id, OpenTK.Graphics.ExtVertexShader value, [In, Out] T2[,,] data) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.ExtVertexShader)value, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -44106,6 +83339,20 @@ namespace OpenTK.Graphics Delegates.glDepthBoundsEXT((Double)zmin, (Double)zmax); } + + /// + /// 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 = "ExtBlendEquationSeparate", Version = "1.2", EntryPoint = "glBlendEquationSeparateEXT")] public static void BlendEquationSeparate(OpenTK.Graphics.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.ExtBlendEquationSeparate modeAlpha) @@ -45733,11 +84980,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] object pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -45751,11 +84999,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] object pointer) + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "NvVertexProgram4", Version = "", EntryPoint = "glVertexAttribIPointerEXT")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.NvVertexProgram4 type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -45876,6 +85242,25 @@ namespace OpenTK.Graphics Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.NvVertexProgram4)pname, (UInt32*)@params); } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] public static @@ -45890,6 +85275,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] public static void GetUniform(Int32 program, Int32 location, [Out] Int32[] @params) @@ -45903,6 +85307,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] public static @@ -45918,6 +85341,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] public static void GetUniform(Int32 program, Int32 location, [Out] out Int32 @params) @@ -45932,6 +85374,25 @@ namespace OpenTK.Graphics } } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] public static @@ -45940,6 +85401,25 @@ namespace OpenTK.Graphics Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); } + + /// + /// Returns the value of a uniform variable + /// + /// + /// + /// Specifies the program object to be queried. + /// + /// + /// + /// + /// Specifies the location of the uniform variable to be queried. + /// + /// + /// + /// + /// Returns the value of the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetUniformuivEXT")] public static @@ -45951,33 +85431,47 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glBindFragDataLocationEXT")] public static - void BindFragDataLocation(UInt32 program, UInt32 color, System.String name) + void BindFragDataLocation(UInt32 program, UInt32 color, String name) { - Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (System.String)name); + Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); } [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glBindFragDataLocationEXT")] public static - void BindFragDataLocation(Int32 program, Int32 color, System.String name) + void BindFragDataLocation(Int32 program, Int32 color, String name) { - Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (System.String)name); + Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); } [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetFragDataLocationEXT")] public static - Int32 GetFragDataLocation(UInt32 program, System.String name) + Int32 GetFragDataLocation(UInt32 program, String name) { - return Delegates.glGetFragDataLocationEXT((UInt32)program, (System.String)name); + return Delegates.glGetFragDataLocationEXT((UInt32)program, (String)name); } [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glGetFragDataLocationEXT")] public static - Int32 GetFragDataLocation(Int32 program, System.String name) + Int32 GetFragDataLocation(Int32 program, String name) { - return Delegates.glGetFragDataLocationEXT((UInt32)program, (System.String)name); + return Delegates.glGetFragDataLocationEXT((UInt32)program, (String)name); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uiEXT")] public static @@ -45986,6 +85480,20 @@ namespace OpenTK.Graphics Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uiEXT")] public static void Uniform1(Int32 location, Int32 v0) @@ -45993,6 +85501,20 @@ namespace OpenTK.Graphics Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uiEXT")] public static @@ -46001,6 +85523,20 @@ namespace OpenTK.Graphics Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform2uiEXT")] public static void Uniform2(Int32 location, Int32 v0, Int32 v1) @@ -46008,6 +85544,20 @@ namespace OpenTK.Graphics Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uiEXT")] public static @@ -46016,6 +85566,20 @@ namespace OpenTK.Graphics Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uiEXT")] public static void Uniform3(Int32 location, Int32 v0, Int32 v1, Int32 v2) @@ -46023,6 +85587,20 @@ namespace OpenTK.Graphics Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] public static @@ -46031,6 +85609,20 @@ namespace OpenTK.Graphics Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uiEXT")] public static void Uniform4(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) @@ -46038,6 +85630,20 @@ namespace OpenTK.Graphics Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] public static @@ -46052,6 +85658,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] public static void Uniform1(Int32 location, Int32 count, Int32[] value) @@ -46065,6 +85685,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] public static @@ -46079,6 +85713,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] public static void Uniform1(Int32 location, Int32 count, ref Int32 value) @@ -46092,6 +85740,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] public static @@ -46100,6 +85762,20 @@ namespace OpenTK.Graphics Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform1uivEXT")] public static @@ -46178,6 +85854,20 @@ namespace OpenTK.Graphics Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static @@ -46192,6 +85882,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static void Uniform3(Int32 location, Int32 count, Int32[] value) @@ -46205,6 +85909,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static @@ -46219,6 +85937,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static void Uniform3(Int32 location, Int32 count, ref Int32 value) @@ -46232,6 +85964,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static @@ -46240,6 +85986,20 @@ namespace OpenTK.Graphics Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform3uivEXT")] public static @@ -46248,6 +86008,20 @@ namespace OpenTK.Graphics Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static @@ -46262,6 +86036,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static void Uniform4(Int32 location, Int32 count, Int32[] value) @@ -46275,6 +86063,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static @@ -46289,6 +86091,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static void Uniform4(Int32 location, Int32 count, ref Int32 value) @@ -46302,6 +86118,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static @@ -46310,6 +86140,20 @@ namespace OpenTK.Graphics Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); } + + /// + /// Specify the value of a uniform variable for the current program object + /// + /// + /// + /// Specifies the location of the uniform variable to be modified. + /// + /// + /// + /// + /// Specifies the new values to be used for the specified uniform variable. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtGpuShader4", Version = "2.0", EntryPoint = "glUniform4uivEXT")] public static @@ -46337,11 +86181,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] public static - void DrawElementsInstance(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount) + void DrawElementsInstance(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstance(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstance(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); + } + finally + { + indices_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDrawInstanced", Version = "2.0", EntryPoint = "glDrawElementsInstancedEXT")] + public static + void DrawElementsInstance(OpenTK.Graphics.BeginMode mode, Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount) + where T3 : struct + { + unsafe + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.BeginMode)mode, (Int32)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount); @@ -47532,11 +87434,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -47550,11 +87453,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] public static - void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage1DEXT")] + public static + void TextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -47590,11 +87611,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static - void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -47608,11 +87630,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] public static - void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage2DEXT")] + public static + void TextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -47648,11 +87788,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static - void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -47666,11 +87807,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] public static - void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + where T7 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + where T7 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) + where T7 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) + where T7 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + where T7 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage1DEXT")] + public static + void TextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + where T7 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -47706,11 +87965,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static - void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -47724,11 +87984,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] public static - void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage2DEXT")] + public static + void TextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -47824,11 +88202,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] public static - void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -47842,11 +88221,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] public static - void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) + where T5 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) + where T5 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) + where T5 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) + where T5 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) + where T5 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetTextureImageEXT")] + public static + void GetTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) + where T5 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -48170,11 +88667,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] public static - void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -48188,11 +88686,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] public static - void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureImage3DEXT")] + public static + void TextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -48228,11 +88844,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] public static - void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) + where T11 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -48246,11 +88863,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] public static - void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) + where T11 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) + where T11 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) + where T11 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,] pixels) + where T11 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,] pixels) + where T11 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) + where T11 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glTextureSubImage3DEXT")] + public static + void TextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) + where T11 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -48371,11 +89106,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] public static - void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T8 pixels) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage1DEXT")] + public static + void MultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T8[,,] pixels) + where T8 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -48399,11 +89192,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] public static - void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage2DEXT")] + public static + void MultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -48427,11 +89278,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] public static - void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T7 pixels) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[] pixels) + where T7 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,] pixels) + where T7 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage1DEXT")] + public static + void MultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T7[,,] pixels) + where T7 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -48455,11 +89364,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] public static - void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T9 pixels) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage2DEXT")] + public static + void MultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T9[,,] pixels) + where T9 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -48511,11 +89478,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] public static - void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 pixels) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] pixels) + where T5 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] pixels) + where T5 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetMultiTexImageEXT")] + public static + void GetMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] pixels) + where T5 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -48679,11 +89704,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] public static - void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexImage3DEXT")] + public static + void MultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -48707,11 +89790,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] public static - void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T11 pixels) + where T11 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[] pixels) + where T11 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,] pixels) + where T11 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexSubImage3DEXT")] + public static + void MultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T11[,,] pixels) + where T11 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -48787,11 +89928,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] public static - void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] object pointer) + void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T4 pointer) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glMultiTexCoordPointerEXT")] + public static + void MultiTexCoordPointer(OpenTK.Graphics.TextureUnit texunit, Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T4[,,] pointer) + where T4 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -49351,11 +90550,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] object data) + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] ref T2 data) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -49369,11 +90569,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] public static - void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] object data) + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] ref T2 data) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[] data) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[] data) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,] data) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[,] data) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, UInt32 index, [In, Out] T2[,,] data) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetPointerIndexedvEXT")] + public static + void GetPointerIndexed(OpenTK.Graphics.ExtDirectStateAccess target, Int32 index, [In, Out] T2[,,] data) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -49409,11 +90727,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] public static - void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] object bits) + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49427,11 +90746,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] public static - void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] object bits) + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage3DEXT")] + public static + void CompressedTextureImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49467,11 +90904,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] public static - void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] object bits) + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49485,11 +90923,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] public static - void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] object bits) + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) + where T8 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) + where T8 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) + where T8 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) + where T8 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) + where T8 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage2DEXT")] + public static + void CompressedTextureImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) + where T8 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49525,11 +91081,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] object bits) + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49543,11 +91100,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] public static - void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] object bits) + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureImage1DEXT")] + public static + void CompressedTextureImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49583,11 +91258,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] public static - void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object bits) + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) + where T11 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49601,11 +91277,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] public static - void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object bits) + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) + where T11 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) + where T11 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) + where T11 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) + where T11 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) + where T11 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) + where T11 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage3DEXT")] + public static + void CompressedTextureSubImage3D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) + where T11 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49641,11 +91435,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static - void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object bits) + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49659,11 +91454,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] public static - void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object bits) + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage2DEXT")] + public static + void CompressedTextureSubImage2D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49699,11 +91612,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] public static - void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object bits) + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49717,11 +91631,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] public static - void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object bits) + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedTextureSubImage1DEXT")] + public static + void CompressedTextureSubImage1D(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49757,11 +91789,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] public static - void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] object img) + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); try { Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); @@ -49775,11 +91808,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] public static - void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] object img) + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) + where T3 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) + where T3 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) + where T3 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) + where T3 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(UInt32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) + where T3 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedTextureImageEXT")] + public static + void GetCompressedTextureImage(Int32 texture, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) + where T3 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); try { Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); @@ -49803,11 +91954,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] public static - void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] object bits) + void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage3DEXT")] + public static + void CompressedMultiTexImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49831,11 +92040,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] public static - void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] object bits) + void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] ref T8 bits) + where T8 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[] bits) + where T8 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,] bits) + where T8 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage2DEXT")] + public static + void CompressedMultiTexImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [In, Out] T8[,,] bits) + where T8 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49859,11 +92126,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] public static - void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] object bits) + void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] + public static + void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] + public static + void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexImage1DEXT")] + public static + void CompressedMultiTexImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49887,11 +92212,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] public static - void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object bits) + void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T11 bits) + where T11 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[] bits) + where T11 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,] bits) + where T11 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage3DEXT")] + public static + void CompressedMultiTexSubImage3D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T11[,,] bits) + where T11 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49915,11 +92298,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] public static - void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object bits) + void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T9 bits) + where T9 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage2DEXT")] + public static + void CompressedMultiTexSubImage2D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T9[,,] bits) + where T9 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49943,11 +92384,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] public static - void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] object bits) + void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] ref T7 bits) + where T7 : struct { unsafe { - System.Runtime.InteropServices.GCHandle bits_ptr = System.Runtime.InteropServices.GCHandle.Alloc(bits, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] + public static + void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] + public static + void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); + try + { + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); + } + finally + { + bits_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glCompressedMultiTexSubImage1DEXT")] + public static + void CompressedMultiTexSubImage1D(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.PixelFormat format, Int32 imageSize, [In, Out] T7[,,] bits) + where T7 : struct + { + unsafe + { + GCHandle bits_ptr = GCHandle.Alloc(bits, GCHandleType.Pinned); try { Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (Int32)imageSize, (IntPtr)bits_ptr.AddrOfPinnedObject()); @@ -49971,11 +92470,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] public static - void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] object img) + void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] ref T3 img) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle img_ptr = System.Runtime.InteropServices.GCHandle.Alloc(img, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[] img) + where T3 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,] img) + where T3 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); + try + { + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); + } + finally + { + img_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetCompressedMultiTexImageEXT")] + public static + void GetCompressedMultiTexImage(OpenTK.Graphics.TextureUnit texunit, OpenTK.Graphics.TextureTarget target, Int32 lod, [In, Out] T3[,,] img) + where T3 : struct + { + unsafe + { + GCHandle img_ptr = GCHandle.Alloc(img, GCHandleType.Pinned); try { Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.TextureUnit)texunit, (OpenTK.Graphics.TextureTarget)target, (Int32)lod, (IntPtr)img_ptr.AddrOfPinnedObject()); @@ -50011,11 +92568,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static - void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] object @string) + void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); @@ -50029,11 +92587,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] public static - void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] object @string) + void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] ref T4 @string) + where T4 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[] @string) + where T4 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[] @string) + where T4 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,] @string) + where T4 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,] @string) + where T4 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) + where T4 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedProgramStringEXT")] + public static + void NamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess format, Int32 len, [In, Out] T4[,,] @string) + where T4 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); @@ -50455,11 +93131,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] public static - void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] object @string) + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T3 @string) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); @@ -50473,11 +93150,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] public static - void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] object @string) + void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T3 @string) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[] @string) + where T3 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[] @string) + where T3 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,] @string) + where T3 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,] @string) + where T3 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(UInt32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,,] @string) + where T3 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedProgramStringEXT")] + public static + void GetNamedProgramString(Int32 program, OpenTK.Graphics.ExtDirectStateAccess target, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T3[,,] @string) + where T3 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.ExtDirectStateAccess)target, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@string_ptr.AddrOfPinnedObject()); @@ -52770,11 +95565,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] public static - void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] object data, OpenTK.Graphics.ExtDirectStateAccess usage) + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); @@ -52788,11 +95584,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] public static - void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] object data, OpenTK.Graphics.ExtDirectStateAccess usage) + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] ref T2 data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[,] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(UInt32 buffer, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); + } + finally + { + data_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferDataEXT")] + public static + void NamedBufferData(Int32 buffer, IntPtr size, [In, Out] T2[,,] data, OpenTK.Graphics.ExtDirectStateAccess usage) + where T2 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ExtDirectStateAccess)usage); @@ -52828,11 +95742,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] public static - void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] object data) + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -52846,11 +95761,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] public static - void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] object data) + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + 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(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + unsafe + { + 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(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + unsafe + { + 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(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + unsafe + { + 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(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + unsafe + { + 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(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + unsafe + { + 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(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glNamedBufferSubDataEXT")] + public static + void NamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -52989,11 +96022,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] public static - void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] object @params) + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T2 @params) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); @@ -53007,11 +96041,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] public static - void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] object @params) + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] ref T2 @params) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[] @params) + where T2 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[] @params) + where T2 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,] @params) + where T2 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,] @params) + where T2 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(UInt32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,,] @params) + where T2 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferPointervEXT")] + public static + void GetNamedBufferPointer(Int32 buffer, OpenTK.Graphics.ExtDirectStateAccess pname, [In, Out] T2[,,] @params) + where T2 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.ExtDirectStateAccess)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); @@ -53047,11 +96199,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] public static - void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] object data) + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -53065,11 +96218,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] public static - void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] object data) + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] ref T3 data) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle data_ptr = System.Runtime.InteropServices.GCHandle.Alloc(data, System.Runtime.InteropServices.GCHandleType.Pinned); + 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(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + unsafe + { + 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(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[] data) + where T3 : struct + { + unsafe + { + 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(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + unsafe + { + 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(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,] data) + where T3 : struct + { + unsafe + { + 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(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(UInt32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + unsafe + { + 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(); + } + } + } + + [AutoGenerated(Category = "ExtDirectStateAccess", Version = "", EntryPoint = "glGetNamedBufferSubDataEXT")] + public static + void GetNamedBufferSubData(Int32 buffer, IntPtr offset, IntPtr size, [In, Out] T3[,,] data) + where T3 : struct + { + unsafe + { + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); try { Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); @@ -53881,11 +97152,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] public static - void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T10 pixels) + where T10 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + public static + void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + public static + void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexImage4DSGIS")] + public static + void TexImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T10[,,] pixels) + where T10 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTexImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -53909,11 +97238,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] public static - void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object pixels) + void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T12 pixels) + where T12 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pixels_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pixels, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T12[] pixels) + where T12 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T12[,] pixels) + where T12 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "SgisTexture4D", Version = "1.0", EntryPoint = "glTexSubImage4DSGIS")] + public static + void TexSubImage4D(OpenTK.Graphics.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T12[,,] pixels) + where T12 : struct + { + unsafe + { + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); try { Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); @@ -54077,6 +97464,20 @@ namespace OpenTK.Graphics Delegates.glSamplePatternSGIS((OpenTK.Graphics.SgisMultisample)pattern); } + + /// + /// Specify point parameters + /// + /// + /// + /// Specifies a single-valued point parameter. GL_POINT_SIZE_MIN, GL_POINT_SIZE_MAX, GL_POINT_FADE_THRESHOLD_SIZE, and GL_POINT_SPRITE_COORD_ORIGIN are accepted. + /// + /// + /// + /// + /// Specifies the value that pname will be set to. + /// + /// [AutoGenerated(Category = "SgisPointParameters", Version = "1.0", EntryPoint = "glPointParameterfSGIS")] public static void PointParameter(OpenTK.Graphics.SgisPointParameters pname, Single param) @@ -54198,6 +97599,40 @@ namespace OpenTK.Graphics public static partial class Sgi { + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] public static void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, IntPtr table) @@ -54208,13 +97643,48 @@ namespace OpenTK.Graphics } } + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] public static - void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object table) + void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T5 table) + where T5 : struct { unsafe { - System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); @@ -54226,6 +97696,184 @@ namespace OpenTK.Graphics } } + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[] table) + where T5 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,] table) + where T5 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// Define a color lookup table + /// + /// + /// + /// Must be one of GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The internal format of the color table. The allowable values are GL_ALPHA, GL_ALPHA4, GL_ALPHA8, GL_ALPHA12, GL_ALPHA16, GL_LUMINANCE, GL_LUMINANCE4, GL_LUMINANCE8, GL_LUMINANCE12, GL_LUMINANCE16, GL_LUMINANCE_ALPHA, GL_LUMINANCE4_ALPHA4, GL_LUMINANCE6_ALPHA2, GL_LUMINANCE8_ALPHA8, GL_LUMINANCE12_ALPHA4, GL_LUMINANCE12_ALPHA12, GL_LUMINANCE16_ALPHA16, GL_INTENSITY, GL_INTENSITY4, GL_INTENSITY8, GL_INTENSITY12, GL_INTENSITY16, GL_R3_G3_B2, GL_RGB, GL_RGB4, GL_RGB5, GL_RGB8, GL_RGB10, GL_RGB12, GL_RGB16, GL_RGBA, GL_RGBA2, GL_RGBA4, GL_RGB5_A1, GL_RGBA8, GL_RGB10_A2, GL_RGBA12, and GL_RGBA16. + /// + /// + /// + /// + /// The number of entries in the color lookup table specified by data. + /// + /// + /// + /// + /// The format of the pixel data in data. The allowable values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in data. The allowable values are GL_UNSIGNED_BYTE, GL_BYTE, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data that is processed to build the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableSGI")] + public static + void ColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T5[,,] table) + where T5 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] public static void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Single[] @params) @@ -54239,6 +97887,25 @@ namespace OpenTK.Graphics } } + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] public static void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, ref Single @params) @@ -54252,6 +97919,25 @@ namespace OpenTK.Graphics } } + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterfvSGI")] public static @@ -54260,6 +97946,25 @@ namespace OpenTK.Graphics Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params); } + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterivSGI")] public static void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, Int32[] @params) @@ -54273,6 +97978,25 @@ namespace OpenTK.Graphics } } + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterivSGI")] public static void ColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, ref Int32 @params) @@ -54286,6 +98010,25 @@ namespace OpenTK.Graphics } } + + /// + /// Set color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a texture color lookup table parameter. Must be one of GL_COLOR_TABLE_SCALE or GL_COLOR_TABLE_BIAS. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameters are stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glColorTableParameterivSGI")] public static @@ -54294,6 +98037,35 @@ namespace OpenTK.Graphics Delegates.glColorTableParameterivSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Int32*)@params); } + + /// + /// 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 = "SgiColorTable", Version = "1.0", EntryPoint = "glCopyColorTableSGI")] public static void CopyColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) @@ -54301,6 +98073,30 @@ namespace OpenTK.Graphics Delegates.glCopyColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); } + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] public static void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [Out] IntPtr table) @@ -54311,13 +98107,38 @@ namespace OpenTK.Graphics } } + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] public static - void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] object table) + void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] ref T3 table) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle table_ptr = System.Runtime.InteropServices.GCHandle.Alloc(table, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); try { Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); @@ -54329,6 +98150,154 @@ namespace OpenTK.Graphics } } + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[] table) + where T3 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,] table) + where T3 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// Retrieve contents of a color lookup table + /// + /// + /// + /// Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, or GL_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The format of the pixel data in table. The possible values are GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_RGB, GL_BGR, GL_RGBA, and GL_BGRA. + /// + /// + /// + /// + /// The type of the pixel data in table. Symbolic constants GL_UNSIGNED_BYTE, GL_BYTE, GL_BITMAP, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_INT, GL_INT, GL_FLOAT, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_INT_10_10_10_2, and GL_UNSIGNED_INT_2_10_10_10_REV are accepted. + /// + /// + /// + /// + /// Pointer to a one-dimensional array of pixel data containing the contents of the color table. + /// + /// + [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableSGI")] + public static + void GetColorTable(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.PixelFormat format, OpenTK.Graphics.PixelType type, [In, Out] T3[,,] table) + where T3 : struct + { + unsafe + { + GCHandle table_ptr = GCHandle.Alloc(table, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.PixelFormat)format, (OpenTK.Graphics.PixelType)type, (IntPtr)table_ptr.AddrOfPinnedObject()); + } + finally + { + table_ptr.Free(); + } + } + } + + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] public static void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Single[] @params) @@ -54342,6 +98311,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] public static void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] out Single @params) @@ -54356,6 +98344,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterfvSGI")] public static @@ -54364,6 +98371,25 @@ namespace OpenTK.Graphics Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.SgiColorTable)target, (OpenTK.Graphics.SgiColorTable)pname, (Single*)@params); } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterivSGI")] public static void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] Int32[] @params) @@ -54377,6 +98403,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterivSGI")] public static void GetColorTableParameter(OpenTK.Graphics.SgiColorTable target, OpenTK.Graphics.SgiColorTable pname, [Out] out Int32 @params) @@ -54391,6 +98436,25 @@ namespace OpenTK.Graphics } } + + /// + /// Get color lookup table parameters + /// + /// + /// + /// The target color table. Must be GL_COLOR_TABLE, GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_COLOR_MATRIX_COLOR_TABLE, GL_PROXY_COLOR_TABLE, GL_PROXY_POST_CONVOLUTION_COLOR_TABLE, or GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE. + /// + /// + /// + /// + /// The symbolic name of a color lookup table parameter. Must be one of GL_COLOR_TABLE_BIAS, GL_COLOR_TABLE_SCALE, GL_COLOR_TABLE_FORMAT, GL_COLOR_TABLE_WIDTH, GL_COLOR_TABLE_RED_SIZE, GL_COLOR_TABLE_GREEN_SIZE, GL_COLOR_TABLE_BLUE_SIZE, GL_COLOR_TABLE_ALPHA_SIZE, GL_COLOR_TABLE_LUMINANCE_SIZE, or GL_COLOR_TABLE_INTENSITY_SIZE. + /// + /// + /// + /// + /// A pointer to an array where the values of the parameter will be stored. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "SgiColorTable", Version = "1.0", EntryPoint = "glGetColorTableParameterivSGI")] public static @@ -55670,11 +99734,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] public static - void IglooInterface(OpenTK.Graphics.All pname, [In, Out] object @params) + void IglooInterface(OpenTK.Graphics.All pname, [In, Out] ref T1 @params) + where T1 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @params_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@params, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.All pname, [In, Out] T1[] @params) + where T1 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.All pname, [In, Out] T1[,] @params) + where T1 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "SgixIglooInterface", Version = "1.0", EntryPoint = "glIglooInterfaceSGIX")] + public static + void IglooInterface(OpenTK.Graphics.All pname, [In, Out] T1[,,] @params) + where T1 : struct + { + unsafe + { + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); try { Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.All)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); @@ -55846,6 +99968,20 @@ namespace OpenTK.Graphics public static partial class Pgi { + + /// + /// Specify implementation-specific hints + /// + /// + /// + /// Specifies a symbolic constant indicating the behavior to be controlled. GL_FOG_HINT, GL_GENERATE_MIPMAP_HINT, GL_LINE_SMOOTH_HINT, GL_PERSPECTIVE_CORRECTION_HINT, GL_POINT_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 = "PgiMiscHints", Version = "1.1", EntryPoint = "glHintPGI")] public static void Hint(OpenTK.Graphics.PgiMiscHints target, Int32 mode) @@ -55857,6 +99993,30 @@ namespace OpenTK.Graphics public static partial class Intel { + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] public static void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) @@ -55867,13 +100027,38 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] public static - void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] object pointer) + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -55885,6 +100070,154 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of vertex data + /// + /// + /// + /// Specifies the number of coordinates per vertex. Must be 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive vertices. If stride is 0, the vertices are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first vertex in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glVertexPointervINTEL")] + public static + void VertexPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] public static void NormalPointer(OpenTK.Graphics.NormalPointerType type, IntPtr pointer) @@ -55895,13 +100228,33 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] public static - void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] object pointer) + void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] ref T1 pointer) + where T1 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -55913,6 +100266,144 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] T1[] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] T1[,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of normals + /// + /// + /// + /// Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE, GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glNormalPointervINTEL")] + public static + void NormalPointer(OpenTK.Graphics.NormalPointerType type, [In, Out] T1[,,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointervINTEL((OpenTK.Graphics.NormalPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) @@ -55923,13 +100414,38 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] public static - void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] object pointer) + void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -55941,6 +100457,159 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of colors + /// + /// + /// + /// Specifies the number of components per color. Must be 3 or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each color component in the array. Symbolic constants GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT, GL_FLOAT, and GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive colors. If stride is 0, the colors are understood to be tightly packed in the array. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first component of the first color element in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glColorPointervINTEL")] + public static + void ColorPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] public static void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, IntPtr pointer) @@ -55951,13 +100620,167 @@ namespace OpenTK.Graphics } } + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] public static - void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] object pointer) + void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + + /// + /// Define an array of texture coordinates + /// + /// + /// + /// Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4. + /// + /// + /// + /// + /// Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT, GL_INT, GL_FLOAT, or GL_DOUBLE are accepted. The initial value is GL_FLOAT. + /// + /// + /// + /// + /// Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0. + /// + /// + /// + /// + /// Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0. + /// + /// + [AutoGenerated(Category = "IntelParallelArrays", Version = "1.1", EntryPoint = "glTexCoordPointervINTEL")] + public static + void TexCoordPointer(Int32 size, OpenTK.Graphics.VertexPointerType type, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -56273,11 +101096,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] public static - void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] object pointer) + void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] ref T2 pointer) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] + public static + void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] T2[] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] + public static + void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] T2[,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "SunTriangleList", Version = "1.1", EntryPoint = "glReplacementCodePointerSUN")] + public static + void ReplacementCodePointer(OpenTK.Graphics.SunTriangleList type, Int32 stride, [In, Out] T2[,,] pointer) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.SunTriangleList)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -57588,6 +102469,30 @@ namespace OpenTK.Graphics public static partial class Ingr { + + /// + /// Specify pixel arithmetic for RGB and alpha components separately + /// + /// + /// + /// Specifies how the red, green, and blue blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, and GL_SRC_ALPHA_SATURATE. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specifies how the red, green, and blue 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. + /// + /// + /// + /// + /// Specified how the alpha source blending factor is computed. The same symbolic constants are accepted as for srcRGB. The initial value is GL_ONE. + /// + /// + /// + /// + /// Specified how the alpha destination blending factor is computed. The same symbolic constants are accepted as for dstRGB. The initial value is GL_ZERO. + /// + /// [AutoGenerated(Category = "IngrBlendFuncSeparate", Version = "1.0", EntryPoint = "glBlendFuncSeparateINGR")] public static void BlendFuncSeparate(OpenTK.Graphics.All sfactorRGB, OpenTK.Graphics.All dfactorRGB, OpenTK.Graphics.All sfactorAlpha, OpenTK.Graphics.All dfactorAlpha) @@ -57606,6 +102511,15 @@ namespace OpenTK.Graphics Delegates.glResizeBuffersMESA(); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dMESA")] public static void WindowPos2(Double x, Double y) @@ -57613,6 +102527,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2dMESA((Double)x, (Double)y); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] public static void WindowPos2(Double[] v) @@ -57626,6 +102549,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] public static void WindowPos2(ref Double v) @@ -57639,6 +102571,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2dvMESA")] public static @@ -57647,6 +102588,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2dvMESA((Double*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fMESA")] public static void WindowPos2(Single x, Single y) @@ -57654,6 +102604,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2fMESA((Single)x, (Single)y); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] public static void WindowPos2(Single[] v) @@ -57667,6 +102626,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] public static void WindowPos2(ref Single v) @@ -57680,6 +102648,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2fvMESA")] public static @@ -57688,6 +102665,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2fvMESA((Single*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2iMESA")] public static void WindowPos2(Int32 x, Int32 y) @@ -57695,6 +102681,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2iMESA((Int32)x, (Int32)y); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] public static void WindowPos2(Int32[] v) @@ -57708,6 +102703,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] public static void WindowPos2(ref Int32 v) @@ -57721,6 +102725,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2ivMESA")] public static @@ -57729,6 +102742,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2ivMESA((Int32*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2sMESA")] public static void WindowPos2(Int16 x, Int16 y) @@ -57736,6 +102758,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2sMESA((Int16)x, (Int16)y); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] public static void WindowPos2(Int16[] v) @@ -57749,6 +102780,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] public static void WindowPos2(ref Int16 v) @@ -57762,6 +102802,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos2svMESA")] public static @@ -57770,6 +102819,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos2svMESA((Int16*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dMESA")] public static void WindowPos3(Double x, Double y, Double z) @@ -57777,6 +102835,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3dMESA((Double)x, (Double)y, (Double)z); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] public static void WindowPos3(Double[] v) @@ -57790,6 +102857,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] public static void WindowPos3(ref Double v) @@ -57803,6 +102879,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3dvMESA")] public static @@ -57811,6 +102896,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3dvMESA((Double*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fMESA")] public static void WindowPos3(Single x, Single y, Single z) @@ -57818,6 +102912,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3fMESA((Single)x, (Single)y, (Single)z); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] public static void WindowPos3(Single[] v) @@ -57831,6 +102934,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] public static void WindowPos3(ref Single v) @@ -57844,6 +102956,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3fvMESA")] public static @@ -57852,6 +102973,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3fvMESA((Single*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3iMESA")] public static void WindowPos3(Int32 x, Int32 y, Int32 z) @@ -57859,6 +102989,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3iMESA((Int32)x, (Int32)y, (Int32)z); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] public static void WindowPos3(Int32[] v) @@ -57872,6 +103011,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] public static void WindowPos3(ref Int32 v) @@ -57885,6 +103033,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3ivMESA")] public static @@ -57893,6 +103050,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3ivMESA((Int32*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3sMESA")] public static void WindowPos3(Int16 x, Int16 y, Int16 z) @@ -57900,6 +103066,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3sMESA((Int16)x, (Int16)y, (Int16)z); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] public static void WindowPos3(Int16[] v) @@ -57913,6 +103088,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] public static void WindowPos3(ref Int16 v) @@ -57926,6 +103110,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos3svMESA")] public static @@ -57934,6 +103127,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos3svMESA((Int16*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dMESA")] public static void WindowPos4(Double x, Double y, Double z, Double w) @@ -57941,6 +103143,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos4dMESA((Double)x, (Double)y, (Double)z, (Double)w); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] public static void WindowPos4(Double[] v) @@ -57954,6 +103165,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] public static void WindowPos4(ref Double v) @@ -57967,6 +103187,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4dvMESA")] public static @@ -57975,6 +103204,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos4dvMESA((Double*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fMESA")] public static void WindowPos4(Single x, Single y, Single z, Single w) @@ -57982,6 +103220,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos4fMESA((Single)x, (Single)y, (Single)z, (Single)w); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] public static void WindowPos4(Single[] v) @@ -57995,6 +103242,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] public static void WindowPos4(ref Single v) @@ -58008,6 +103264,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4fvMESA")] public static @@ -58016,6 +103281,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos4fvMESA((Single*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4iMESA")] public static void WindowPos4(Int32 x, Int32 y, Int32 z, Int32 w) @@ -58023,6 +103297,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos4iMESA((Int32)x, (Int32)y, (Int32)z, (Int32)w); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] public static void WindowPos4(Int32[] v) @@ -58036,6 +103319,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] public static void WindowPos4(ref Int32 v) @@ -58049,6 +103341,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4ivMESA")] public static @@ -58057,6 +103358,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos4ivMESA((Int32*)v); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4sMESA")] public static void WindowPos4(Int16 x, Int16 y, Int16 z, Int16 w) @@ -58064,6 +103374,15 @@ namespace OpenTK.Graphics Delegates.glWindowPos4sMESA((Int16)x, (Int16)y, (Int16)z, (Int16)w); } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] public static void WindowPos4(Int16[] v) @@ -58077,6 +103396,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] public static void WindowPos4(ref Int16 v) @@ -58090,6 +103418,15 @@ namespace OpenTK.Graphics } } + + /// + /// Specify the raster position in window coordinates for pixel operations + /// + /// + /// + /// Specify the , , coordinates for the raster position. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "MesaWindowPos", Version = "1.0", EntryPoint = "glWindowPos4svMESA")] public static @@ -58156,14 +103493,84 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct { unsafe { fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) fixed (Int32* count_ptr = count) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(OpenTK.Graphics.BeginMode[] mode, Int32[] count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = mode) + fixed (Int32* count_ptr = count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); @@ -58192,14 +103599,84 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount, Int32 modestride) + void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct { unsafe { fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) fixed (Int32* count_ptr = &count) { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + } + } + + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + void MultiModeDrawElements(ref OpenTK.Graphics.BeginMode mode, ref Int32 count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + unsafe + { + fixed (OpenTK.Graphics.BeginMode* mode_ptr = &mode) + fixed (Int32* count_ptr = &count) + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode_ptr, (Int32*)count_ptr, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); @@ -58223,9 +103700,61 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] public static - unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] object indices, Int32 primcount, Int32 modestride) + unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] ref T3 indices, Int32 primcount, Int32 modestride) + where T3 : struct { - System.Runtime.InteropServices.GCHandle indices_ptr = System.Runtime.InteropServices.GCHandle.Alloc(indices, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); + } + finally + { + indices_ptr.Free(); + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "IbmMultimodeDrawArrays", Version = "1.1", EntryPoint = "glMultiModeDrawElementsIBM")] + public static + unsafe void MultiModeDrawElements(OpenTK.Graphics.BeginMode* mode, Int32* count, OpenTK.Graphics.DrawElementsType type, [In, Out] T3[,,] indices, Int32 primcount, Int32 modestride) + where T3 : struct + { + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.BeginMode*)mode, (Int32*)count, (OpenTK.Graphics.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount, (Int32)modestride); @@ -58248,11 +103777,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] public static - void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) + void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] + public static + void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] + public static + void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glColorPointerListIBM")] + public static + void ColorPointerList(Int32 size, OpenTK.Graphics.ColorPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.ColorPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); @@ -58276,11 +103863,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] public static - void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] + public static + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] + public static + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glSecondaryColorPointerListIBM")] + public static + void SecondaryColorPointerList(Int32 size, OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); @@ -58338,11 +103983,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] public static - void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) + void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T2[] pointer, Int32 ptrstride) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T2[,] pointer, Int32 ptrstride) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glFogCoordPointerListIBM")] + public static + void FogCoordPointerList(OpenTK.Graphics.IbmVertexArrayLists type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); @@ -58366,11 +104069,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] public static - void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) + void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[] pointer, Int32 ptrstride) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,] pointer, Int32 ptrstride) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glIndexPointerListIBM")] + public static + void IndexPointerList(OpenTK.Graphics.IndexPointerType type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glIndexPointerListIBM((OpenTK.Graphics.IndexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); @@ -58394,11 +104155,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] public static - void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) + void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] ref T2 pointer, Int32 ptrstride) + where T2 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] + public static + void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[] pointer, Int32 ptrstride) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] + public static + void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,] pointer, Int32 ptrstride) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glNormalPointerListIBM")] + public static + void NormalPointerList(OpenTK.Graphics.NormalPointerType type, Int32 stride, [In, Out] T2[,,] pointer, Int32 ptrstride) + where T2 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glNormalPointerListIBM((OpenTK.Graphics.NormalPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); @@ -58422,11 +104241,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] public static - void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) + void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + public static + void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + public static + void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glTexCoordPointerListIBM")] + public static + void TexCoordPointerList(Int32 size, OpenTK.Graphics.TexCoordPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); @@ -58450,11 +104327,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] public static - void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] object pointer, Int32 ptrstride) + void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] ref T3 pointer, Int32 ptrstride) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] + public static + void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[] pointer, Int32 ptrstride) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] + public static + void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,] pointer, Int32 ptrstride) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "IbmVertexArrayLists", Version = "1.1", EntryPoint = "glVertexPointerListIBM")] + public static + void VertexPointerList(Int32 size, OpenTK.Graphics.VertexPointerType type, Int32 stride, [In, Out] T3[,,] pointer, Int32 ptrstride) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.VertexPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (Int32)ptrstride); @@ -58902,11 +104837,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] public static - Int32 NewObjectBuffer(Int32 size, [In, Out] object pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + Int32 NewObjectBuffer(Int32 size, [In, Out] ref T1 pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + where T1 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, [In, Out] T1[] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, [In, Out] T1[,] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glNewObjectBufferATI")] + public static + Int32 NewObjectBuffer(Int32 size, [In, Out] T1[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject usage) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)usage); @@ -58957,11 +104950,12 @@ namespace OpenTK.Graphics [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] public static - void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] object pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] ref T3 pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); @@ -58975,11 +104969,129 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] public static - void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] object pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] ref T3 pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(UInt32 buffer, UInt32 offset, Int32 size, [In, Out] T3[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AtiVertexArrayObject", Version = "1.2", EntryPoint = "glUpdateObjectBufferATI")] + public static + void UpdateObjectBuffer(Int32 buffer, Int32 offset, Int32 size, [In, Out] T3[,,] pointer, OpenTK.Graphics.AtiVertexArrayObject preserve) + where T3 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.AtiVertexArrayObject)preserve); @@ -60332,11 +106444,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] public static - void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] object pointer) + void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] ref T1 pointer) + where T1 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AtiElementArray", Version = "1.2", EntryPoint = "glElementPointerATI")] + public static + void ElementPointer(OpenTK.Graphics.AtiElementArray type, [In, Out] T1[,,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glElementPointerATI((OpenTK.Graphics.AtiElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -60370,6 +106540,20 @@ namespace OpenTK.Graphics Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count); } + + /// + /// Specifies a list of color buffers to be drawn into + /// + /// + /// + /// Specifies the number of buffers in bufs. + /// + /// + /// + /// + /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. + /// + /// [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] public static void DrawBuffers(Int32 n, OpenTK.Graphics.AtiDrawBuffers[] bufs) @@ -60383,6 +106567,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies a list of color buffers to be drawn into + /// + /// + /// + /// Specifies the number of buffers in bufs. + /// + /// + /// + /// + /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. + /// + /// [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] public static void DrawBuffers(Int32 n, ref OpenTK.Graphics.AtiDrawBuffers bufs) @@ -60396,6 +106594,20 @@ namespace OpenTK.Graphics } } + + /// + /// Specifies a list of color buffers to be drawn into + /// + /// + /// + /// Specifies the number of buffers in bufs. + /// + /// + /// + /// + /// Points to an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiDrawBuffers", Version = "1.2", EntryPoint = "glDrawBuffersATI")] public static @@ -60435,6 +106647,30 @@ namespace OpenTK.Graphics Delegates.glUnmapObjectBufferATI((UInt32)buffer); } + + /// + /// 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 = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilOpSeparateATI")] public static void StencilOpSeparate(OpenTK.Graphics.AtiSeparateStencil face, OpenTK.Graphics.StencilOp sfail, OpenTK.Graphics.StencilOp dpfail, OpenTK.Graphics.StencilOp dppass) @@ -60442,6 +106678,30 @@ namespace OpenTK.Graphics Delegates.glStencilOpSeparateATI((OpenTK.Graphics.AtiSeparateStencil)face, (OpenTK.Graphics.StencilOp)sfail, (OpenTK.Graphics.StencilOp)dpfail, (OpenTK.Graphics.StencilOp)dppass); } + + /// + /// Set front and/or back function and reference value for stencil testing + /// + /// + /// + /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// [System.CLSCompliant(false)] [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")] public static @@ -60450,6 +106710,30 @@ namespace OpenTK.Graphics Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.StencilFunction)frontfunc, (OpenTK.Graphics.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); } + + /// + /// Set front and/or back function and reference value for stencil testing + /// + /// + /// + /// Specifies whether front and/or back stencil state is updated. Three symbolic constants are valid: GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK. + /// + /// + /// + /// + /// Specifies the test function. Eight symbolic constants are valid: GL_NEVER, GL_LESS, GL_LEQUAL, GL_GREATER, GL_GEQUAL, GL_EQUAL, GL_NOTEQUAL, and GL_ALWAYS. The initial value is GL_ALWAYS. + /// + /// + /// + /// + /// Specifies the reference value for the stencil test. ref is clamped to the range [0, 2 sup n - 1], where is the number of bitplanes in the stencil buffer. The initial value is 0. + /// + /// + /// + /// + /// Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's. + /// + /// [AutoGenerated(Category = "AtiSeparateStencil", Version = "1.2", EntryPoint = "glStencilFuncSeparateATI")] public static void StencilFuncSeparate(OpenTK.Graphics.StencilFunction frontfunc, OpenTK.Graphics.StencilFunction backfunc, Int32 @ref, Int32 mask) @@ -60632,11 +106916,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] public static - void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] object pointer) + void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] ref T1 pointer) + where T1 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AppleElementArray", Version = "1.2", EntryPoint = "glElementPointerAPPLE")] + public static + void ElementPointer(OpenTK.Graphics.AppleElementArray type, [In, Out] T1[,,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glElementPointerAPPLE((OpenTK.Graphics.AppleElementArray)type, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -61188,11 +107530,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] public static - void VertexArrayRange(Int32 length, [In, Out] object pointer) + void VertexArrayRange(Int32 length, [In, Out] ref T1 pointer) + where T1 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] + public static + void VertexArrayRange(Int32 length, [In, Out] T1[] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] + public static + void VertexArrayRange(Int32 length, [In, Out] T1[,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glVertexArrayRangeAPPLE")] + public static + void VertexArrayRange(Int32 length, [In, Out] T1[,,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -61216,11 +107616,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] public static - void FlushVertexArrayRange(Int32 length, [In, Out] object pointer) + void FlushVertexArrayRange(Int32 length, [In, Out] ref T1 pointer) + where T1 : struct { unsafe { - System.Runtime.InteropServices.GCHandle pointer_ptr = System.Runtime.InteropServices.GCHandle.Alloc(pointer, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [In, Out] T1[] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [In, Out] T1[,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "AppleVertexArrayRange", Version = "1.2", EntryPoint = "glFlushVertexArrayRangeAPPLE")] + public static + void FlushVertexArrayRange(Int32 length, [In, Out] T1[,,] pointer) + where T1 : struct + { + unsafe + { + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer_ptr.AddrOfPinnedObject()); @@ -61269,11 +107727,69 @@ namespace OpenTK.Graphics [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] public static - void StringMarker(Int32 len, [In, Out] object @string) + void StringMarker(Int32 len, [In, Out] ref T1 @string) + where T1 : struct { unsafe { - System.Runtime.InteropServices.GCHandle @string_ptr = System.Runtime.InteropServices.GCHandle.Alloc(@string, System.Runtime.InteropServices.GCHandleType.Pinned); + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] + public static + void StringMarker(Int32 len, [In, Out] T1[] @string) + where T1 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] + public static + void StringMarker(Int32 len, [In, Out] T1[,] @string) + where T1 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); + try + { + Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); + } + finally + { + @string_ptr.Free(); + } + } + } + + [AutoGenerated(Category = "GremedyStringMarker", Version = "1.0", EntryPoint = "glStringMarkerGREMEDY")] + public static + void StringMarker(Int32 len, [In, Out] T1[,,] @string) + where T1 : struct + { + unsafe + { + GCHandle @string_ptr = GCHandle.Alloc(@string, GCHandleType.Pinned); try { Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string_ptr.AddrOfPinnedObject()); diff --git a/Source/OpenTK/Graphics/GL/GLCore.cs b/Source/OpenTK/Graphics/GL/GLCore.cs index 98a175dd..07ab3b26 100644 --- a/Source/OpenTK/Graphics/GL/GLCore.cs +++ b/Source/OpenTK/Graphics/GL/GLCore.cs @@ -1507,7 +1507,7 @@ namespace OpenTK.Graphics internal extern static void AttachShader(UInt32 program, UInt32 shader); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocation", ExactSpelling = true)] - internal extern static void BindAttribLocation(UInt32 program, UInt32 index, System.String name); + internal extern static void BindAttribLocation(UInt32 program, UInt32 index, String name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShader", ExactSpelling = true)] internal extern static void CompileShader(UInt32 shader); @@ -1543,7 +1543,7 @@ namespace OpenTK.Graphics internal extern static unsafe void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocation", ExactSpelling = true)] - internal extern static Int32 GetAttribLocation(UInt32 program, System.String name); + internal extern static Int32 GetAttribLocation(UInt32 program, String name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)] internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params); @@ -1561,7 +1561,7 @@ namespace OpenTK.Graphics internal extern static unsafe void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocation", ExactSpelling = true)] - internal extern static Int32 GetUniformLocation(UInt32 program, System.String name); + internal extern static Int32 GetUniformLocation(UInt32 program, String name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfv", ExactSpelling = true)] internal extern static unsafe void GetUniformfv(UInt32 program, Int32 location, [Out] Single* @params); @@ -1591,7 +1591,7 @@ namespace OpenTK.Graphics internal extern static void LinkProgram(UInt32 program); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderSource", ExactSpelling = true)] - internal extern static unsafe void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, Int32* length); + internal extern static unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgram", ExactSpelling = true)] internal extern static void UseProgram(UInt32 program); @@ -1903,10 +1903,10 @@ namespace OpenTK.Graphics internal extern static unsafe void GetUniformuiv(UInt32 program, Int32 location, [Out] UInt32* @params); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFragDataLocation", ExactSpelling = true)] - internal extern static void BindFragDataLocation(UInt32 program, UInt32 color, System.String name); + internal extern static void BindFragDataLocation(UInt32 program, UInt32 color, String name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragDataLocation", ExactSpelling = true)] - internal extern static Int32 GetFragDataLocation(UInt32 program, System.String name); + internal extern static Int32 GetFragDataLocation(UInt32 program, String name); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ui", ExactSpelling = true)] internal extern static void Uniform1ui(Int32 location, UInt32 v0); diff --git a/Source/OpenTK/Graphics/GL/GLDelegates.cs b/Source/OpenTK/Graphics/GL/GLDelegates.cs index 600b4ca8..e3465b32 100644 --- a/Source/OpenTK/Graphics/GL/GLDelegates.cs +++ b/Source/OpenTK/Graphics/GL/GLDelegates.cs @@ -1508,7 +1508,7 @@ namespace OpenTK.Graphics internal delegate void AttachShader(UInt32 program, UInt32 shader); internal static AttachShader glAttachShader; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindAttribLocation(UInt32 program, UInt32 index, System.String name); + internal delegate void BindAttribLocation(UInt32 program, UInt32 index, String name); internal static BindAttribLocation glBindAttribLocation; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void CompileShader(UInt32 shader); @@ -1544,7 +1544,7 @@ namespace OpenTK.Graphics internal unsafe delegate void GetAttachedShaders(UInt32 program, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj); internal unsafe static GetAttachedShaders glGetAttachedShaders; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetAttribLocation(UInt32 program, System.String name); + internal delegate Int32 GetAttribLocation(UInt32 program, String name); internal static GetAttribLocation glGetAttribLocation; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.ProgramParameter pname, [Out] Int32* @params); @@ -1562,7 +1562,7 @@ namespace OpenTK.Graphics internal unsafe delegate void GetShaderSource(UInt32 shader, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder[] source); internal unsafe static GetShaderSource glGetShaderSource; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetUniformLocation(UInt32 program, System.String name); + internal delegate Int32 GetUniformLocation(UInt32 program, String name); internal static GetUniformLocation glGetUniformLocation; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetUniformfv(UInt32 program, Int32 location, [Out] Single* @params); @@ -1592,7 +1592,7 @@ namespace OpenTK.Graphics internal delegate void LinkProgram(UInt32 program); internal static LinkProgram glLinkProgram; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ShaderSource(UInt32 shader, Int32 count, System.String[] @string, Int32* length); + internal unsafe delegate void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); internal unsafe static ShaderSource glShaderSource; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void UseProgram(UInt32 program); @@ -1904,10 +1904,10 @@ namespace OpenTK.Graphics internal unsafe delegate void GetUniformuiv(UInt32 program, Int32 location, [Out] UInt32* @params); internal unsafe static GetUniformuiv glGetUniformuiv; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFragDataLocation(UInt32 program, UInt32 color, System.String name); + internal delegate void BindFragDataLocation(UInt32 program, UInt32 color, String name); internal static BindFragDataLocation glBindFragDataLocation; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetFragDataLocation(UInt32 program, System.String name); + internal delegate Int32 GetFragDataLocation(UInt32 program, String name); internal static GetFragDataLocation glGetFragDataLocation; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Uniform1ui(Int32 location, UInt32 v0); @@ -2453,7 +2453,7 @@ namespace OpenTK.Graphics internal delegate Int32 CreateShaderObjectARB(OpenTK.Graphics.ArbShaderObjects shaderType); internal static CreateShaderObjectARB glCreateShaderObjectARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void ShaderSourceARB(UInt32 shaderObj, Int32 count, System.String[] @string, Int32* length); + internal unsafe delegate void ShaderSourceARB(UInt32 shaderObj, Int32 count, String[] @string, Int32* length); internal unsafe static ShaderSourceARB glShaderSourceARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void CompileShaderARB(UInt32 shaderObj); @@ -2543,7 +2543,7 @@ namespace OpenTK.Graphics internal unsafe delegate void GetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [Out] Int32* count, [Out] UInt32* obj); internal unsafe static GetAttachedObjectsARB glGetAttachedObjectsARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetUniformLocationARB(UInt32 programObj, System.String name); + internal delegate Int32 GetUniformLocationARB(UInt32 programObj, String name); internal static GetUniformLocationARB glGetUniformLocationARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbShaderObjects* type, [Out] System.Text.StringBuilder name); @@ -2558,13 +2558,13 @@ namespace OpenTK.Graphics internal unsafe delegate void GetShaderSourceARB(UInt32 obj, Int32 maxLength, [Out] Int32* length, [Out] System.Text.StringBuilder[] source); internal unsafe static GetShaderSourceARB glGetShaderSourceARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindAttribLocationARB(UInt32 programObj, UInt32 index, System.String name); + internal delegate void BindAttribLocationARB(UInt32 programObj, UInt32 index, String name); internal static BindAttribLocationARB glBindAttribLocationARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ArbVertexShader* type, [Out] System.Text.StringBuilder name); internal unsafe static GetActiveAttribARB glGetActiveAttribARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetAttribLocationARB(UInt32 programObj, System.String name); + internal delegate Int32 GetAttribLocationARB(UInt32 programObj, String name); internal static GetAttribLocationARB glGetAttribLocationARB; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void DrawBuffersARB(Int32 n, OpenTK.Graphics.ArbDrawBuffers* bufs); @@ -4760,10 +4760,10 @@ namespace OpenTK.Graphics internal unsafe delegate void GetUniformuivEXT(UInt32 program, Int32 location, [Out] UInt32* @params); internal unsafe static GetUniformuivEXT glGetUniformuivEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void BindFragDataLocationEXT(UInt32 program, UInt32 color, System.String name); + internal delegate void BindFragDataLocationEXT(UInt32 program, UInt32 color, String name); internal static BindFragDataLocationEXT glBindFragDataLocationEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetFragDataLocationEXT(UInt32 program, System.String name); + internal delegate Int32 GetFragDataLocationEXT(UInt32 program, String name); internal static GetFragDataLocationEXT glGetFragDataLocationEXT; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void Uniform1uiEXT(Int32 location, UInt32 v0); @@ -4859,10 +4859,10 @@ namespace OpenTK.Graphics internal unsafe delegate void TransformFeedbackVaryingsNV(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.NvTransformFeedback bufferMode); internal unsafe static TransformFeedbackVaryingsNV glTransformFeedbackVaryingsNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void ActiveVaryingNV(UInt32 program, System.String name); + internal delegate void ActiveVaryingNV(UInt32 program, String name); internal static ActiveVaryingNV glActiveVaryingNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate Int32 GetVaryingLocationNV(UInt32 program, System.String name); + internal delegate Int32 GetVaryingLocationNV(UInt32 program, String name); internal static GetVaryingLocationNV glGetVaryingLocationNV; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void GetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.NvTransformFeedback* type, [Out] System.Text.StringBuilder name); diff --git a/Source/OpenTK/OpenTK.csproj b/Source/OpenTK/OpenTK.csproj new file mode 100644 index 00000000..8330d791 --- /dev/null +++ b/Source/OpenTK/OpenTK.csproj @@ -0,0 +1,592 @@ + + + Local + 9.0.30729 + 2.0 + {1101E8B7-883E-45EE-B8A8-C72898F5F4A6} + Debug + AnyCPU + + + + + OpenTK + JScript + Grid + IE50 + false + Library + + + OpenTK + + + + + 2.0 + + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + True + 285212672 + False + + + DEBUG;TRACE; + + + True + 4096 + False + ..\..\Binaries\Debug\Libraries\ + False + False + False + 4 + + + + + True + 285212672 + False + + + TRACE; + OpenTK.xml + False + 4096 + True + ..\..\Binaries\Release\Libraries\ + False + False + False + 4 + + + + + + System + \System.dll + + + System.Drawing + \System.Drawing.dll + + + System.Windows.Forms + \System.Windows.Forms.dll + + + System.Data + \System.Data.dll + + + System.Xml + \System.Xml.dll + + + + + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + UserControl + + + GLControl.cs + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Always + + + + + False + .NET Framework Client Profile + false + + + False + .NET Framework 2.0 %28x86%29 + true + + + False + .NET Framework 3.0 %28x86%29 + false + + + False + .NET Framework 3.5 + false + + + False + .NET Framework 3.5 SP1 + false + + + + + + + + + + \ No newline at end of file