diff --git a/Build/Build.exe b/Build/Build.exe index 21e77384..4057d7f1 100644 Binary files a/Build/Build.exe and b/Build/Build.exe differ diff --git a/Source/Examples/OpenGL/GLSL/Lesson01/Cube.cs b/Source/Examples/OpenGL/GLSL/Lesson01/Cube.cs index aeb0e485..25640f9e 100644 --- a/Source/Examples/OpenGL/GLSL/Lesson01/Cube.cs +++ b/Source/Examples/OpenGL/GLSL/Lesson01/Cube.cs @@ -124,7 +124,7 @@ namespace OpenTK.Examples.OpenGL.GLSL GL.Enable(Enums.EnableCap.DEPTH_TEST); int vertex_shader_object, fragment_shader_object; - int[] status = new int[1]; + int status; int shader_program; vertex_shader_object = GL.CreateShader(Enums.VERSION_2_0.VERTEX_SHADER); @@ -132,8 +132,8 @@ namespace OpenTK.Examples.OpenGL.GLSL GL.ShaderSource(vertex_shader_object, vertex_shader_source.Length, vertex_shader_source, null); GL.CompileShader(vertex_shader_object); - GL.GetShaderiv(vertex_shader_object, Enums.VERSION_2_0.COMPILE_STATUS, status); - if (status[0] != (int)Enums.Boolean.TRUE) + GL.GetShaderiv(vertex_shader_object, Enums.VERSION_2_0.COMPILE_STATUS, out status); + if (status != (int)Enums.Boolean.TRUE) { StringBuilder info = new StringBuilder(1024); GL.GetShaderInfoLog(vertex_shader_object, info.MaxCapacity, null, info); @@ -143,8 +143,8 @@ namespace OpenTK.Examples.OpenGL.GLSL GL.ShaderSource(fragment_shader_object, fragment_shader_source.Length, fragment_shader_source, null); GL.CompileShader(fragment_shader_object); - GL.GetShaderiv(fragment_shader_object, Enums.VERSION_2_0.COMPILE_STATUS, status); - if (status[0] != (int)Enums.Boolean.TRUE) + GL.GetShaderiv(fragment_shader_object, Enums.VERSION_2_0.COMPILE_STATUS, out status); + if (status != (int)Enums.Boolean.TRUE) { StringBuilder info = new StringBuilder(1024); GL.GetShaderInfoLog(fragment_shader_object, 1024, null, info); diff --git a/Source/OpenGL/Bind/SpecReader.cs b/Source/OpenGL/Bind/SpecReader.cs index d2f0f23f..76680c0a 100644 --- a/Source/OpenGL/Bind/SpecReader.cs +++ b/Source/OpenGL/Bind/SpecReader.cs @@ -106,7 +106,9 @@ namespace OpenTK.OpenGL.Bind function_name.EndsWith("INTEL") || function_name.EndsWith("PGI") || function_name.EndsWith("INGR") || - function_name.EndsWith("APPLE")); + function_name.EndsWith("APPLE") || + function_name.EndsWith("OML") || + function_name.EndsWith("I3D")); } #endregion @@ -249,6 +251,10 @@ namespace OpenTK.OpenGL.Bind public static void ReadEnumSpecs(string file, out CodeTypeDeclarationCollection enums) { enums = new CodeTypeDeclarationCollection(); + // comple_enum contains all opengl enumerants. + CodeTypeDeclaration complete_enum = new CodeTypeDeclaration(); + complete_enum.IsEnum = true; + complete_enum.Name = "GLenum"; StreamReader sr = OpenSpecFile(file); Console.WriteLine("Reading constant specs from file: {0}", file); @@ -327,6 +333,9 @@ namespace OpenTK.OpenGL.Bind //if (!String.IsNullOrEmpty(c.Name) && !e.Members.Contains.Contains(c)) SpecTranslator.Merge(e.Members, c); + + // Insert the current constant in the list of all constants. + SpecTranslator.Merge(complete_enum.Members, c); } while (!sr.EndOfStream); @@ -335,10 +344,11 @@ namespace OpenTK.OpenGL.Bind e.StartDirectives.Add(new CodeRegionDirective(CodeRegionMode.Start, "public enum " + e.Name)); e.EndDirectives.Add(new CodeRegionDirective(CodeRegionMode.End, "public enum " + e.Name)); - // Hack - discard Boolean enum, it fsucks up the fragile translation code ahead. + // (disabled) Hack - discard Boolean enum, it fsucks up the fragile translation code ahead. //if (!e.Name.Contains("Bool")) SpecTranslator.Merge(enums, e); } + SpecTranslator.Merge(enums, complete_enum); } while (!sr.EndOfStream); } diff --git a/Source/OpenGL/Bind/SpecTranslator.cs b/Source/OpenGL/Bind/SpecTranslator.cs index 81ec0dd8..c5b40f93 100644 --- a/Source/OpenGL/Bind/SpecTranslator.cs +++ b/Source/OpenGL/Bind/SpecTranslator.cs @@ -67,6 +67,10 @@ namespace OpenTK.OpenGL.Bind /// UncheckedParameter, /// + /// Function that takes (in/ref/out) a naked pointer as a parameter - we pass an IntPtr. + /// + PointerParameter, + /// /// Function returns string - needs manual marshalling through IntPtr to prevent the managed GC /// from freeing memory allocated on the unmanaged side (e.g. glGetString). /// @@ -183,6 +187,11 @@ namespace OpenTK.OpenGL.Bind d.ReturnType.ArrayRank = 0; } + if (d.ReturnType.BaseType == "GLenum") + { + d.ReturnType.BaseType = "Enums.GLenum"; + } + if (d.ReturnType.UserData.Contains("Wrapper")) { d.UserData.Add("Wrapper", null); @@ -195,25 +204,25 @@ namespace OpenTK.OpenGL.Bind { CodeTypeReference s; - if (d.Name == "BufferDataARB") + if (d.Name == "CreateShader") { } // Translate each parameter of the function while checking for needed wrappers: foreach (CodeParameterDeclarationExpression p in d.Parameters) { - // Translate parameter type - if (Search(enums, p.Type.BaseType)) + if (Search(enums, p.Type.BaseType) && p.Type.BaseType != "GLenum") { + // If there is a specific enumerant entry for this parameter, then take this. p.Type.BaseType = "Enums." + p.Type.BaseType; } else if (GLTypes.TryGetValue(p.Type.BaseType, out s)) { if (s.BaseType == "GLenum" && d.UserData.Contains("Category")) { - bool found = false; - // There is no enumerant with the needed name. Try to see if any of the generic enumerants + // If there isn't, try to see if any of the generic enumerants // (category: VERSION_1_1 etc) match the needed name. + bool found = false; foreach (CodeTypeDeclaration enumerant in enums) { if (enumerant.Name == (string)d.UserData["Category"]) @@ -224,9 +233,10 @@ namespace OpenTK.OpenGL.Bind } } - if (!found || p.Type.BaseType.ToLower().Contains("bool")) + // If none match, then fall back to the global enum list. + if (!found) { - p.Type.BaseType = s.BaseType; + p.Type.BaseType = "Enums.GLenum"; } } else @@ -261,6 +271,10 @@ namespace OpenTK.OpenGL.Bind { p.UserData.Add("Wrapper", WrapperTypes.GenericParameter); } + else if (p.Type.BaseType.Contains("IntPtr")) + { + //p.UserData.Add("Wrapper", WrapperTypes.PointerParameter); + } else { p.UserData.Add("Wrapper", WrapperTypes.ArrayParameter); @@ -271,6 +285,7 @@ namespace OpenTK.OpenGL.Bind p.Type = new CodeTypeReference(); p.Type.BaseType = "System.IntPtr"; p.Type.ArrayRank = 0; + p.UserData.Add("Flow", p.Direction); // The same wrapper works for either in or out parameters. //p.CustomAttributes.Add(new CodeAttributeDeclaration("In, Out")); } @@ -299,7 +314,7 @@ namespace OpenTK.OpenGL.Bind d.UserData.Add("Wrapper", null); } - p.Direction = FieldDirection.In; + //p.Direction = FieldDirection.In; } } #endregion @@ -458,12 +473,12 @@ namespace OpenTK.OpenGL.Bind WrapPointersMonsterFunctionMK2(w, wrappers); --count; - /*w = IntPtrToReference(f, count); + w = IntPtrToReference(f, count); wrappers.Add(w); ++count; WrapPointersMonsterFunctionMK2(w, wrappers); - --count;*/ + --count; } else if ((WrapperTypes)f.Parameters[count].UserData["Wrapper"] == WrapperTypes.GenericParameter) { @@ -549,8 +564,7 @@ namespace OpenTK.OpenGL.Bind #region private static CodeMemberMethod IntPtrToReference(CodeMemberMethod f, int index) /// - /// This function is not working yet! How can we obtain a pinned IntPtr from a ref - /// without resorting to unsafe code? + /// Obtain an IntPtr to the reference passed by the user. /// /// /// @@ -563,7 +577,11 @@ namespace OpenTK.OpenGL.Bind CodeParameterDeclarationExpression newp = new CodeParameterDeclarationExpression(); newp.Name = f.Parameters[index].Name; newp.Type.BaseType = (string)f.Parameters[index].UserData["OriginalType"]; - newp.Direction = FieldDirection.Ref; + if (f.Parameters[index].UserData.Contains("Flow") && + (FieldDirection)f.Parameters[index].UserData["Flow"] == FieldDirection.Out) + newp.Direction = FieldDirection.Out; + else + newp.Direction = FieldDirection.Ref; w.Parameters[index] = newp; // In the function body we should pin all objects in memory before calling the @@ -651,9 +669,21 @@ namespace OpenTK.OpenGL.Bind foreach (CodeParameterDeclarationExpression p in f.Parameters) { // Do manual marshalling for objects and arrays, but not strings. - if (p.Type.BaseType.ToLower().Contains("object") && !p.Type.BaseType.ToLower().Contains("enums.") || - (p.Type.ArrayRank > 0 && !p.Type.BaseType.ToLower().Contains("string"))) + if (p.Type.BaseType == "object" || p.Type.BaseType == "System.Object" || + (p.Type.ArrayRank > 0 && !p.Type.BaseType.ToLower().Contains("string")) || + ((p.Direction == FieldDirection.Ref || p.Direction == FieldDirection.Out) && + !p.Type.BaseType.ToLower().Contains("string"))) { + if (p.Direction == FieldDirection.Out) + { + statements.Add( + new CodeAssignStatement( + new CodeVariableReferenceExpression(p.Name), + new CodeSnippetExpression("default(" + p.Type.BaseType + ")") + ) + ); + } + // Pin the object and store the resulting GCHandle to h0, h1, ... CodeVariableDeclarationStatement s = new CodeVariableDeclarationStatement(); s.Type = new CodeTypeReference("GCHandle"); @@ -679,6 +709,18 @@ namespace OpenTK.OpenGL.Bind // Add the h(n) variable to the list of parameters parameters[i] = new CodeVariableReferenceExpression("h" + h + ".AddrOfPinnedObject()"); + + // Add an assignment statement: "variable_name = (variable_type)h(n).Target" for out parameters. + if (p.Direction == FieldDirection.Out) + { + m.TryStatements.Add( + new CodeAssignStatement( + new CodeVariableReferenceExpression(p.Name), + new CodeSnippetExpression("(" + p.Type.BaseType + ")h" + h + ".Target") + ) + ); + } + h++; } else @@ -689,10 +731,10 @@ namespace OpenTK.OpenGL.Bind i++; } - if (!f.ReturnType.BaseType.Contains("Void")) + if (f.ReturnType.BaseType.Contains("Void")) { - m.TryStatements.Add( - new CodeMethodReturnStatement( + m.TryStatements.Insert(0, + new CodeExpressionStatement( new CodeMethodInvokeExpression( new CodeTypeReferenceExpression("Delegates"), "gl" + f.Name, @@ -703,15 +745,22 @@ namespace OpenTK.OpenGL.Bind } else { - m.TryStatements.Add( - new CodeMethodInvokeExpression( - new CodeTypeReferenceExpression("Delegates"), - "gl" + f.Name, - parameters + m.TryStatements.Insert(0, new CodeVariableDeclarationStatement(f.ReturnType, "retval")); + m.TryStatements.Insert(1, + new CodeAssignStatement( + new CodeVariableReferenceExpression("retval"), + new CodeMethodInvokeExpression( + new CodeTypeReferenceExpression("Delegates"), + "gl" + f.Name, + parameters + ) ) ); - } + m.TryStatements.Add( + new CodeMethodReturnStatement(new CodeVariableReferenceExpression("retval")) + ); + } statements.Add(m); diff --git a/Source/OpenGL/Bind/SpecWriter.cs b/Source/OpenGL/Bind/SpecWriter.cs index 1e4c6053..d330463b 100644 --- a/Source/OpenGL/Bind/SpecWriter.cs +++ b/Source/OpenGL/Bind/SpecWriter.cs @@ -191,6 +191,12 @@ namespace OpenTK.OpenGL.Bind foreach (CodeTypeDelegate d in delegates) { + // Hack - turn FieldDirection.Out parameters to FieldDirection.In. The parameter flow + // is handle by the [In, Out()] parameter attribute. + foreach (CodeParameterDeclarationExpression p in d.Parameters) + { + p.Direction = FieldDirection.In; + } delegate_class.Members.Add(d); CodeMemberField m = new CodeMemberField(); diff --git a/Source/OpenGL/OpenGL/Bindings/GL.cs b/Source/OpenGL/OpenGL/Bindings/GL.cs index a30b179c..a5ecd6a1 100644 --- a/Source/OpenGL/OpenGL/Bindings/GL.cs +++ b/Source/OpenGL/OpenGL/Bindings/GL.cs @@ -16,7 +16,6 @@ namespace OpenTK.OpenGL using GLsizei = System.Int32; using GLsizeiptr = System.IntPtr; using GLintptr = System.IntPtr; - using GLenum = System.Int32; using GLboolean = System.Boolean; using GLbitfield = System.Int32; using GLvoid = System.Object; @@ -103,25 +102,119 @@ namespace OpenTK.OpenGL { Delegates.glApplyTextureEXT(mode); } - public static GLboolean AreProgramsResidentNV(GLsizei n, System.IntPtr programs, Enums.Boolean[] residences) - { - GCHandle h0 = GCHandle.Alloc(residences, GCHandleType.Pinned); - try - { - return Delegates.glAreProgramsResidentNV(n, programs, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } public static GLboolean AreProgramsResidentNV(GLsizei n, GLuint[] programs, Enums.Boolean[] residences) { GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); try { - return Delegates.glAreProgramsResidentNV(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + GLboolean retval; + retval = Delegates.glAreProgramsResidentNV(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreProgramsResidentNV(GLsizei n, GLuint[] programs, [In, Out()] System.IntPtr residences) + { + GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); + residences = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreProgramsResidentNV(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + residences = (System.IntPtr)h1.Target; + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreProgramsResidentNV(GLsizei n, System.IntPtr programs, out Enums.Boolean residences) + { + residences = default(Enums.Boolean); + GCHandle h0 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreProgramsResidentNV(n, programs, h0.AddrOfPinnedObject()); + residences = (Enums.Boolean)h0.Target; + return retval; + } + finally + { + h0.Free(); + } + } + public static GLboolean AreProgramsResidentNV(GLsizei n, GLuint[] programs, out Enums.Boolean residences) + { + GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); + residences = default(Enums.Boolean); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreProgramsResidentNV(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + residences = (Enums.Boolean)h1.Target; + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreProgramsResidentNV(GLsizei n, ref GLuint programs, out Enums.Boolean residences) + { + GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); + residences = default(Enums.Boolean); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreProgramsResidentNV(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + residences = (Enums.Boolean)h1.Target; + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreProgramsResidentNV(GLsizei n, ref GLuint programs, Enums.Boolean[] residences) + { + GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreProgramsResidentNV(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreProgramsResidentNV(GLsizei n, ref GLuint programs, [In, Out()] System.IntPtr residences) + { + GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); + residences = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreProgramsResidentNV(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + residences = (System.IntPtr)h1.Target; + return retval; } finally { @@ -133,40 +226,14 @@ namespace OpenTK.OpenGL { return Delegates.glAreProgramsResidentNV(n, programs, residences); } - public static GLboolean AreProgramsResidentNV(GLsizei n, GLuint[] programs, [In, Out()] System.IntPtr residences) - { - GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); - try - { - return Delegates.glAreProgramsResidentNV(n, h0.AddrOfPinnedObject(), residences); - } - finally - { - h0.Free(); - } - } - public static GLboolean AreTexturesResident(GLsizei n, System.IntPtr textures, [In, Out()] System.IntPtr residences) - { - return Delegates.glAreTexturesResident(n, textures, residences); - } - public static GLboolean AreTexturesResident(GLsizei n, System.IntPtr textures, Enums.Boolean[] residences) + public static GLboolean AreProgramsResidentNV(GLsizei n, System.IntPtr programs, Enums.Boolean[] residences) { GCHandle h0 = GCHandle.Alloc(residences, GCHandleType.Pinned); try { - return Delegates.glAreTexturesResident(n, textures, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } - public static GLboolean AreTexturesResident(GLsizei n, GLuint[] textures, [In, Out()] System.IntPtr residences) - { - GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); - try - { - return Delegates.glAreTexturesResident(n, h0.AddrOfPinnedObject(), residences); + GLboolean retval; + retval = Delegates.glAreProgramsResidentNV(n, programs, h0.AddrOfPinnedObject()); + return retval; } finally { @@ -179,7 +246,149 @@ namespace OpenTK.OpenGL GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); try { - return Delegates.glAreTexturesResident(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + GLboolean retval; + retval = Delegates.glAreTexturesResident(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreTexturesResident(GLsizei n, System.IntPtr textures, [In, Out()] System.IntPtr residences) + { + return Delegates.glAreTexturesResident(n, textures, residences); + } + public static GLboolean AreTexturesResident(GLsizei n, System.IntPtr textures, Enums.Boolean[] residences) + { + GCHandle h0 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreTexturesResident(n, textures, h0.AddrOfPinnedObject()); + return retval; + } + finally + { + h0.Free(); + } + } + public static GLboolean AreTexturesResident(GLsizei n, GLuint[] textures, out Enums.Boolean residences) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + residences = default(Enums.Boolean); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreTexturesResident(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + residences = (Enums.Boolean)h1.Target; + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreTexturesResident(GLsizei n, ref GLuint textures, out Enums.Boolean residences) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + residences = default(Enums.Boolean); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreTexturesResident(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + residences = (Enums.Boolean)h1.Target; + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreTexturesResident(GLsizei n, ref GLuint textures, Enums.Boolean[] residences) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreTexturesResident(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreTexturesResident(GLsizei n, ref GLuint textures, [In, Out()] System.IntPtr residences) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + residences = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreTexturesResident(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + residences = (System.IntPtr)h1.Target; + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreTexturesResident(GLsizei n, System.IntPtr textures, out Enums.Boolean residences) + { + residences = default(Enums.Boolean); + GCHandle h0 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreTexturesResident(n, textures, h0.AddrOfPinnedObject()); + residences = (Enums.Boolean)h0.Target; + return retval; + } + finally + { + h0.Free(); + } + } + public static GLboolean AreTexturesResident(GLsizei n, GLuint[] textures, [In, Out()] System.IntPtr residences) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + residences = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreTexturesResident(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + residences = (System.IntPtr)h1.Target; + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreTexturesResidentEXT(GLsizei n, GLuint[] textures, out Enums.Boolean residences) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + residences = default(Enums.Boolean); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreTexturesResidentEXT(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + residences = (Enums.Boolean)h1.Target; + return retval; } finally { @@ -193,7 +402,65 @@ namespace OpenTK.OpenGL GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); try { - return Delegates.glAreTexturesResidentEXT(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + GLboolean retval; + retval = Delegates.glAreTexturesResidentEXT(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreTexturesResidentEXT(GLsizei n, ref GLuint textures, [In, Out()] System.IntPtr residences) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + residences = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreTexturesResidentEXT(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + residences = (System.IntPtr)h1.Target; + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreTexturesResidentEXT(GLsizei n, ref GLuint textures, Enums.Boolean[] residences) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreTexturesResidentEXT(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreTexturesResidentEXT(GLsizei n, System.IntPtr textures, [In, Out()] System.IntPtr residences) + { + return Delegates.glAreTexturesResidentEXT(n, textures, residences); + } + public static GLboolean AreTexturesResidentEXT(GLsizei n, GLuint[] textures, [In, Out()] System.IntPtr residences) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + residences = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreTexturesResidentEXT(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + residences = (System.IntPtr)h1.Target; + return retval; } finally { @@ -206,23 +473,43 @@ namespace OpenTK.OpenGL GCHandle h0 = GCHandle.Alloc(residences, GCHandleType.Pinned); try { - return Delegates.glAreTexturesResidentEXT(n, textures, h0.AddrOfPinnedObject()); + GLboolean retval; + retval = Delegates.glAreTexturesResidentEXT(n, textures, h0.AddrOfPinnedObject()); + return retval; } finally { h0.Free(); } } - public static GLboolean AreTexturesResidentEXT(GLsizei n, System.IntPtr textures, [In, Out()] System.IntPtr residences) - { - return Delegates.glAreTexturesResidentEXT(n, textures, residences); - } - public static GLboolean AreTexturesResidentEXT(GLsizei n, GLuint[] textures, [In, Out()] System.IntPtr residences) + public static GLboolean AreTexturesResidentEXT(GLsizei n, ref GLuint textures, out Enums.Boolean residences) { GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + residences = default(Enums.Boolean); + GCHandle h1 = GCHandle.Alloc(residences, GCHandleType.Pinned); try { - return Delegates.glAreTexturesResidentEXT(n, h0.AddrOfPinnedObject(), residences); + GLboolean retval; + retval = Delegates.glAreTexturesResidentEXT(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + residences = (Enums.Boolean)h1.Target; + return retval; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static GLboolean AreTexturesResidentEXT(GLsizei n, System.IntPtr textures, out Enums.Boolean residences) + { + residences = default(Enums.Boolean); + GCHandle h0 = GCHandle.Alloc(residences, GCHandleType.Pinned); + try + { + GLboolean retval; + retval = Delegates.glAreTexturesResidentEXT(n, textures, h0.AddrOfPinnedObject()); + residences = (Enums.Boolean)h0.Target; + return retval; } finally { @@ -273,7 +560,7 @@ namespace OpenTK.OpenGL { Delegates.glBeginQueryARB(target, id); } - public static void BeginTransformFeedbackNV(Enums.NV_transform_feedback primitiveMode) + public static void BeginTransformFeedbackNV(Enums.GLenum primitiveMode) { Delegates.glBeginTransformFeedbackNV(primitiveMode); } @@ -297,15 +584,15 @@ namespace OpenTK.OpenGL { Delegates.glBindBufferARB(target, buffer); } - public static void BindBufferBaseNV(Enums.NV_transform_feedback target, GLuint index, GLuint buffer) + public static void BindBufferBaseNV(Enums.GLenum target, GLuint index, GLuint buffer) { Delegates.glBindBufferBaseNV(target, index, buffer); } - public static void BindBufferOffsetNV(Enums.NV_transform_feedback target, GLuint index, GLuint buffer, GLintptr offset) + public static void BindBufferOffsetNV(Enums.GLenum target, GLuint index, GLuint buffer, GLintptr offset) { Delegates.glBindBufferOffsetNV(target, index, buffer, offset); } - public static void BindBufferRangeNV(Enums.NV_transform_feedback target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) + public static void BindBufferRangeNV(Enums.GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) { Delegates.glBindBufferRangeNV(target, index, buffer, offset, size); } @@ -373,7 +660,7 @@ namespace OpenTK.OpenGL { Delegates.glBinormal3bEXT(bx, by, bz); } - public static void Binormal3bvEXT(GLbyte[] v) + public static void Binormal3bvEXT(ref GLbyte v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -389,10 +676,34 @@ namespace OpenTK.OpenGL { Delegates.glBinormal3bvEXT(v); } + public static void Binormal3bvEXT(GLbyte[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glBinormal3bvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Binormal3dEXT(GLdouble bx, GLdouble by, GLdouble bz) { Delegates.glBinormal3dEXT(bx, by, bz); } + public static void Binormal3dvEXT(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glBinormal3dvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Binormal3dvEXT(GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -413,10 +724,6 @@ namespace OpenTK.OpenGL { Delegates.glBinormal3fEXT(bx, by, bz); } - public static void Binormal3fvEXT(System.IntPtr v) - { - Delegates.glBinormal3fvEXT(v); - } public static void Binormal3fvEXT(GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -429,6 +736,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Binormal3fvEXT(ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glBinormal3fvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void Binormal3fvEXT(System.IntPtr v) + { + Delegates.glBinormal3fvEXT(v); + } public static void Binormal3iEXT(GLint bx, GLint by, GLint bz) { Delegates.glBinormal3iEXT(bx, by, bz); @@ -449,11 +772,23 @@ namespace OpenTK.OpenGL { Delegates.glBinormal3ivEXT(v); } + public static void Binormal3ivEXT(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glBinormal3ivEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Binormal3sEXT(GLshort bx, GLshort by, GLshort bz) { Delegates.glBinormal3sEXT(bx, by, bz); } - public static void Binormal3svEXT(GLshort[] v) + public static void Binormal3svEXT(ref GLshort v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -469,6 +804,22 @@ namespace OpenTK.OpenGL { Delegates.glBinormal3svEXT(v); } + public static void Binormal3svEXT(GLshort[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glBinormal3svEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void BinormalPointerEXT(Enums.EXT_coordinate_frame type, GLsizei stride, System.IntPtr pointer) + { + Delegates.glBinormalPointerEXT(type, stride, pointer); + } public static void BinormalPointerEXT(Enums.EXT_coordinate_frame type, GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -481,15 +832,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void BinormalPointerEXT(Enums.EXT_coordinate_frame type, GLsizei stride, System.IntPtr pointer) + public static void Bitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, GLubyte[] bitmap) { - Delegates.glBinormalPointerEXT(type, stride, pointer); + GCHandle h0 = GCHandle.Alloc(bitmap, GCHandleType.Pinned); + try + { + Delegates.glBitmap(width, height, xorig, yorig, xmove, ymove, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Bitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, System.IntPtr bitmap) { Delegates.glBitmap(width, height, xorig, yorig, xmove, ymove, bitmap); } - public static void Bitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, GLubyte[] bitmap) + public static void Bitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, ref GLubyte bitmap) { GCHandle h0 = GCHandle.Alloc(bitmap, GCHandleType.Pinned); try @@ -537,18 +896,14 @@ namespace OpenTK.OpenGL { Delegates.glBlendFuncSeparateEXT(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); } - public static void BlendFuncSeparateINGR(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) + public static void BlendFuncSeparateINGR(Enums.GLenum sfactorRGB, Enums.GLenum dfactorRGB, Enums.GLenum sfactorAlpha, Enums.GLenum dfactorAlpha) { Delegates.glBlendFuncSeparateINGR(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); } - public static void BlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, Enums.ClearBufferMask mask, Enums.EXT_framebuffer_blit filter) + public static void BlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, Enums.ClearBufferMask mask, Enums.GLenum filter) { Delegates.glBlitFramebufferEXT(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); } - public static void BufferData(Enums.VERSION_1_5 target, GLsizeiptr size, System.IntPtr data, Enums.VERSION_1_5 usage) - { - Delegates.glBufferData(target, size, data, usage); - } public static void BufferData(Enums.VERSION_1_5 target, GLsizeiptr size, object data, Enums.VERSION_1_5 usage) { GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); @@ -561,9 +916,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void BufferDataARB(Enums.ARB_vertex_buffer_object target, GLsizeiptrARB size, System.IntPtr data, Enums.ARB_vertex_buffer_object usage) + public static void BufferData(Enums.VERSION_1_5 target, GLsizeiptr size, System.IntPtr data, Enums.VERSION_1_5 usage) { - Delegates.glBufferDataARB(target, size, data, usage); + Delegates.glBufferData(target, size, data, usage); } public static void BufferDataARB(Enums.ARB_vertex_buffer_object target, GLsizeiptrARB size, object data, Enums.ARB_vertex_buffer_object usage) { @@ -577,10 +932,18 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void BufferParameteriAPPLE(Enums.APPLE_flush_buffer_range target, Enums.APPLE_flush_buffer_range pname, GLint param) + public static void BufferDataARB(Enums.ARB_vertex_buffer_object target, GLsizeiptrARB size, System.IntPtr data, Enums.ARB_vertex_buffer_object usage) + { + Delegates.glBufferDataARB(target, size, data, usage); + } + public static void BufferParameteriAPPLE(Enums.GLenum target, Enums.GLenum pname, GLint param) { Delegates.glBufferParameteriAPPLE(target, pname, param); } + public static void BufferSubData(Enums.VERSION_1_5 target, GLintptr offset, GLsizeiptr size, System.IntPtr data) + { + Delegates.glBufferSubData(target, offset, size, data); + } public static void BufferSubData(Enums.VERSION_1_5 target, GLintptr offset, GLsizeiptr size, object data) { GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); @@ -593,14 +956,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void BufferSubData(Enums.VERSION_1_5 target, GLintptr offset, GLsizeiptr size, System.IntPtr data) - { - Delegates.glBufferSubData(target, offset, size, data); - } - public static void BufferSubDataARB(Enums.ARB_vertex_buffer_object target, GLintptrARB offset, GLsizeiptrARB size, System.IntPtr data) - { - Delegates.glBufferSubDataARB(target, offset, size, data); - } public static void BufferSubDataARB(Enums.ARB_vertex_buffer_object target, GLintptrARB offset, GLsizeiptrARB size, object data) { GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); @@ -613,6 +968,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void BufferSubDataARB(Enums.ARB_vertex_buffer_object target, GLintptrARB offset, GLsizeiptrARB size, System.IntPtr data) + { + Delegates.glBufferSubDataARB(target, offset, size, data); + } public static void CallList(GLuint list) { Delegates.glCallList(list); @@ -633,7 +992,7 @@ namespace OpenTK.OpenGL { Delegates.glCallLists(n, type, lists); } - public static GLenum CheckFramebufferStatusEXT(Enums.EXT_framebuffer_object target) + public static Enums.GLenum CheckFramebufferStatusEXT(Enums.EXT_framebuffer_object target) { return Delegates.glCheckFramebufferStatusEXT(target); } @@ -705,13 +1064,33 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ClipPlane(Enums.ClipPlaneName plane, ref GLdouble equation) + { + GCHandle h0 = GCHandle.Alloc(equation, GCHandleType.Pinned); + try + { + Delegates.glClipPlane(plane, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color3b(GLbyte red, GLbyte green, GLbyte blue) { Delegates.glColor3b(red, green, blue); } - public static void Color3bv(System.IntPtr v) + public static void Color3bv(ref GLbyte v) { - Delegates.glColor3bv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor3bv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Color3bv(GLbyte[] v) { @@ -725,13 +1104,25 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Color3bv(System.IntPtr v) + { + Delegates.glColor3bv(v); + } public static void Color3d(GLdouble red, GLdouble green, GLdouble blue) { Delegates.glColor3d(red, green, blue); } - public static void Color3dv(System.IntPtr v) + public static void Color3dv(ref GLdouble v) { - Delegates.glColor3dv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor3dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Color3dv(GLdouble[] v) { @@ -745,10 +1136,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Color3dv(System.IntPtr v) + { + Delegates.glColor3dv(v); + } public static void Color3f(GLfloat red, GLfloat green, GLfloat blue) { Delegates.glColor3f(red, green, blue); } + public static void Color3fv(ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor3fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color3fv(System.IntPtr v) { Delegates.glColor3fv(v); @@ -769,11 +1176,21 @@ namespace OpenTK.OpenGL { Delegates.glColor3fVertex3fSUN(r, g, b, x, y, z); } - public static void Color3fVertex3fvSUN(System.IntPtr c, System.IntPtr v) + public static void Color3fVertex3fvSUN(ref GLfloat c, ref GLfloat v) { - Delegates.glColor3fVertex3fvSUN(c, v); + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } } - public static void Color3fVertex3fvSUN(System.IntPtr c, GLfloat[] v) + public static void Color3fVertex3fvSUN(System.IntPtr c, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -785,7 +1202,33 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Color3fVertex3fvSUN(GLfloat[] c, GLfloat[] v) + public static void Color3fVertex3fvSUN(ref GLfloat c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color3fVertex3fvSUN(ref GLfloat c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void Color3fVertex3fvSUN(GLfloat[] c, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -811,10 +1254,56 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Color3fVertex3fvSUN(GLfloat[] c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color3fVertex3fvSUN(System.IntPtr c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor3fVertex3fvSUN(c, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void Color3fVertex3fvSUN(System.IntPtr c, System.IntPtr v) + { + Delegates.glColor3fVertex3fvSUN(c, v); + } public static void Color3hNV(GLhalfNV red, GLhalfNV green, GLhalfNV blue) { Delegates.glColor3hNV(red, green, blue); } + public static void Color3hvNV(System.IntPtr v) + { + Delegates.glColor3hvNV(v); + } + public static void Color3hvNV(ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor3hvNV(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color3hvNV(GLhalfNV[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -827,10 +1316,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Color3hvNV(System.IntPtr v) - { - Delegates.glColor3hvNV(v); - } public static void Color3i(GLint red, GLint green, GLint blue) { Delegates.glColor3i(red, green, blue); @@ -847,6 +1332,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Color3iv(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor3iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color3iv(System.IntPtr v) { Delegates.glColor3iv(v); @@ -855,7 +1352,7 @@ namespace OpenTK.OpenGL { Delegates.glColor3s(red, green, blue); } - public static void Color3sv(GLshort[] v) + public static void Color3sv(ref GLshort v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -871,6 +1368,18 @@ namespace OpenTK.OpenGL { Delegates.glColor3sv(v); } + public static void Color3sv(GLshort[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor3sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color3ub(GLubyte red, GLubyte green, GLubyte blue) { Delegates.glColor3ub(red, green, blue); @@ -887,6 +1396,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Color3ubv(ref GLubyte v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor3ubv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color3ubv(System.IntPtr v) { Delegates.glColor3ubv(v); @@ -911,6 +1432,18 @@ namespace OpenTK.OpenGL { Delegates.glColor3uiv(v); } + public static void Color3uiv(ref GLuint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor3uiv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color3us(GLushort red, GLushort green, GLushort blue) { Delegates.glColor3us(red, green, blue); @@ -931,6 +1464,18 @@ namespace OpenTK.OpenGL { Delegates.glColor3usv(v); } + public static void Color3usv(ref GLushort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor3usv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) { Delegates.glColor4b(red, green, blue, alpha); @@ -947,6 +1492,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Color4bv(ref GLbyte v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4bv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color4bv(System.IntPtr v) { Delegates.glColor4bv(v); @@ -955,6 +1512,10 @@ namespace OpenTK.OpenGL { Delegates.glColor4d(red, green, blue, alpha); } + public static void Color4dv(System.IntPtr v) + { + Delegates.glColor4dv(v); + } public static void Color4dv(GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -967,9 +1528,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Color4dv(System.IntPtr v) + public static void Color4dv(ref GLdouble v) { - Delegates.glColor4dv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { @@ -1005,25 +1574,13 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void Color4fNormal3fVertex3fvSUN(System.IntPtr c, GLfloat[] n, System.IntPtr v) + public static void Color4fNormal3fVertex3fvSUN(GLfloat[] c, ref GLfloat n, System.IntPtr v) { - GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); try { - Delegates.glColor4fNormal3fVertex3fvSUN(c, h0.AddrOfPinnedObject(), v); - } - finally - { - h0.Free(); - } - } - public static void Color4fNormal3fVertex3fvSUN(System.IntPtr c, GLfloat[] n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glColor4fNormal3fVertex3fvSUN(c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); } finally { @@ -1031,19 +1588,51 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void Color4fNormal3fVertex3fvSUN(System.IntPtr c, System.IntPtr n, GLfloat[] v) + public static void Color4fNormal3fVertex3fvSUN(GLfloat[] c, GLfloat[] n, ref GLfloat v) { - GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glColor4fNormal3fVertex3fvSUN(c, n, h0.AddrOfPinnedObject()); + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, v); } finally { h0.Free(); } } - public static void Color4fNormal3fVertex3fvSUN(GLfloat[] c, GLfloat[] n, GLfloat[] v) + public static void Color4fNormal3fVertex3fvSUN(GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(GLfloat[] c, ref GLfloat n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); @@ -1073,15 +1662,281 @@ namespace OpenTK.OpenGL h1.Free(); } } + public static void Color4fNormal3fVertex3fvSUN(GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(c, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(c, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color4fNormal3fVertex3fvSUN(System.IntPtr c, System.IntPtr n, System.IntPtr v) { Delegates.glColor4fNormal3fVertex3fvSUN(c, n, v); } + public static void Color4fNormal3fVertex3fvSUN(System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(c, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(c, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4fNormal3fVertex3fvSUN(ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void Color4fv(GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color4fv(System.IntPtr v) { Delegates.glColor4fv(v); } - public static void Color4fv(GLfloat[] v) + public static void Color4fv(ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -1097,6 +1952,10 @@ namespace OpenTK.OpenGL { Delegates.glColor4hNV(red, green, blue, alpha); } + public static void Color4hvNV(System.IntPtr v) + { + Delegates.glColor4hvNV(v); + } public static void Color4hvNV(GLhalfNV[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -1109,14 +1968,34 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Color4hvNV(System.IntPtr v) + public static void Color4hvNV(ref GLhalfNV v) { - Delegates.glColor4hvNV(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4hvNV(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Color4i(GLint red, GLint green, GLint blue, GLint alpha) { Delegates.glColor4i(red, green, blue, alpha); } + public static void Color4iv(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color4iv(GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -1153,6 +2032,18 @@ namespace OpenTK.OpenGL { Delegates.glColor4sv(v); } + public static void Color4sv(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { Delegates.glColor4ub(red, green, blue, alpha); @@ -1169,6 +2060,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Color4ubv(ref GLubyte v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4ubv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color4ubv(System.IntPtr v) { Delegates.glColor4ubv(v); @@ -1177,19 +2080,7 @@ namespace OpenTK.OpenGL { Delegates.glColor4ubVertex2fSUN(r, g, b, a, x, y); } - public static void Color4ubVertex2fvSUN(GLubyte[] c, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); - try - { - Delegates.glColor4ubVertex2fvSUN(h0.AddrOfPinnedObject(), v); - } - finally - { - h0.Free(); - } - } - public static void Color4ubVertex2fvSUN(GLubyte[] c, GLfloat[] v) + public static void Color4ubVertex2fvSUN(ref GLubyte c, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -1203,6 +2094,30 @@ namespace OpenTK.OpenGL h1.Free(); } } + public static void Color4ubVertex2fvSUN(System.IntPtr c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4ubVertex2fvSUN(c, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void Color4ubVertex2fvSUN(GLubyte[] c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glColor4ubVertex2fvSUN(h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } public static void Color4ubVertex2fvSUN(System.IntPtr c, System.IntPtr v) { Delegates.glColor4ubVertex2fvSUN(c, v); @@ -1219,22 +2134,64 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Color4ubVertex3fSUN(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) - { - Delegates.glColor4ubVertex3fSUN(r, g, b, a, x, y, z); - } - public static void Color4ubVertex3fvSUN(GLubyte[] c, System.IntPtr v) + public static void Color4ubVertex2fvSUN(ref GLubyte c, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); try { - Delegates.glColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), v); + Delegates.glColor4ubVertex2fvSUN(h0.AddrOfPinnedObject(), v); } finally { h0.Free(); } } + public static void Color4ubVertex2fvSUN(ref GLubyte c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4ubVertex2fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4ubVertex2fvSUN(GLubyte[] c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4ubVertex2fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4ubVertex2fvSUN(GLubyte[] c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4ubVertex2fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4ubVertex3fSUN(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) + { + Delegates.glColor4ubVertex3fSUN(r, g, b, a, x, y, z); + } public static void Color4ubVertex3fvSUN(GLubyte[] c, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); @@ -1249,9 +2206,71 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void Color4ubVertex3fvSUN(System.IntPtr c, System.IntPtr v) + public static void Color4ubVertex3fvSUN(ref GLubyte c, ref GLfloat v) { - Delegates.glColor4ubVertex3fvSUN(c, v); + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4ubVertex3fvSUN(ref GLubyte c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4ubVertex3fvSUN(ref GLubyte c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void Color4ubVertex3fvSUN(GLubyte[] c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Color4ubVertex3fvSUN(System.IntPtr c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4ubVertex3fvSUN(c, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Color4ubVertex3fvSUN(System.IntPtr c, GLfloat[] v) { @@ -1265,6 +2284,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Color4ubVertex3fvSUN(System.IntPtr c, System.IntPtr v) + { + Delegates.glColor4ubVertex3fvSUN(c, v); + } + public static void Color4ubVertex3fvSUN(GLubyte[] c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } public static void Color4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) { Delegates.glColor4ui(red, green, blue, alpha); @@ -1281,6 +2316,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Color4uiv(ref GLuint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4uiv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Color4uiv(System.IntPtr v) { Delegates.glColor4uiv(v); @@ -1289,9 +2336,17 @@ namespace OpenTK.OpenGL { Delegates.glColor4us(red, green, blue, alpha); } - public static void Color4usv(System.IntPtr v) + public static void Color4usv(ref GLushort v) { - Delegates.glColor4usv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glColor4usv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Color4usv(GLushort[] v) { @@ -1305,6 +2360,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Color4usv(System.IntPtr v) + { + Delegates.glColor4usv(v); + } public static void ColorFragmentOp1ATI(Enums.ATI_fragment_shader op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod) { Delegates.glColorFragmentOp1ATI(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod); @@ -1365,34 +2424,10 @@ namespace OpenTK.OpenGL { Delegates.glColorPointerListIBM(size, type, stride, pointer, ptrstride); } - public static void ColorPointerListIBM(GLint size, Enums.ColorPointerType type, GLint stride, IntPtr[] pointer, GLint ptrstride) - { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointerListIBM(size, type, stride, h0.AddrOfPinnedObject(), ptrstride); - } - finally - { - h0.Free(); - } - } public static void ColorPointervINTEL(GLint size, Enums.VertexPointerType type, System.IntPtr pointer) { Delegates.glColorPointervINTEL(size, type, pointer); } - public static void ColorPointervINTEL(GLint size, Enums.VertexPointerType type, IntPtr[] pointer) - { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glColorPointervINTEL(size, type, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } public static void ColorSubTable(Enums.VERSION_1_2 target, GLsizei start, GLsizei count, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr data) { Delegates.glColorSubTable(target, start, count, format, type, data); @@ -1441,10 +2476,6 @@ namespace OpenTK.OpenGL { Delegates.glColorTable(target, internalformat, width, format, type, table); } - public static void ColorTableEXT(Enums.EXT_paletted_texture target, Enums.PixelInternalFormat internalFormat, GLsizei width, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr table) - { - Delegates.glColorTableEXT(target, internalFormat, width, format, type, table); - } public static void ColorTableEXT(Enums.EXT_paletted_texture target, Enums.PixelInternalFormat internalFormat, GLsizei width, Enums.PixelFormat format, Enums.PixelType type, object table) { GCHandle h0 = GCHandle.Alloc(table, GCHandleType.Pinned); @@ -1457,6 +2488,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ColorTableEXT(Enums.EXT_paletted_texture target, Enums.PixelInternalFormat internalFormat, GLsizei width, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr table) + { + Delegates.glColorTableEXT(target, internalFormat, width, format, type, table); + } public static void ColorTableParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, System.IntPtr @params) { Delegates.glColorTableParameterfv(target, pname, @params); @@ -1473,7 +2508,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ColorTableParameterfvSGI(Enums.ColorTableTargetSGI target, Enums.ColorTableParameterPNameSGI pname, GLfloat[] @params) + public static void ColorTableParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glColorTableParameterfv(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ColorTableParameterfvSGI(Enums.ColorTableTargetSGI target, Enums.ColorTableParameterPNameSGI pname, ref GLfloat @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -1489,7 +2536,19 @@ namespace OpenTK.OpenGL { Delegates.glColorTableParameterfvSGI(target, pname, @params); } - public static void ColorTableParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, GLint[] @params) + public static void ColorTableParameterfvSGI(Enums.ColorTableTargetSGI target, Enums.ColorTableParameterPNameSGI pname, GLfloat[] @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glColorTableParameterfvSGI(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ColorTableParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, ref GLint @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -1505,9 +2564,29 @@ namespace OpenTK.OpenGL { Delegates.glColorTableParameteriv(target, pname, @params); } - public static void ColorTableParameterivSGI(Enums.ColorTableTargetSGI target, Enums.ColorTableParameterPNameSGI pname, System.IntPtr @params) + public static void ColorTableParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, GLint[] @params) { - Delegates.glColorTableParameterivSGI(target, pname, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glColorTableParameteriv(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ColorTableParameterivSGI(Enums.ColorTableTargetSGI target, Enums.ColorTableParameterPNameSGI pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glColorTableParameterivSGI(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void ColorTableParameterivSGI(Enums.ColorTableTargetSGI target, Enums.ColorTableParameterPNameSGI pname, GLint[] @params) { @@ -1521,6 +2600,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ColorTableParameterivSGI(Enums.ColorTableTargetSGI target, Enums.ColorTableParameterPNameSGI pname, System.IntPtr @params) + { + Delegates.glColorTableParameterivSGI(target, pname, @params); + } public static void ColorTableSGI(Enums.ColorTableTargetSGI target, Enums.PixelInternalFormat internalformat, GLsizei width, Enums.PixelFormat format, Enums.PixelType type, object table) { GCHandle h0 = GCHandle.Alloc(table, GCHandleType.Pinned); @@ -1549,6 +2632,22 @@ namespace OpenTK.OpenGL { Delegates.glCombinerParameterfNV(pname, param); } + public static void CombinerParameterfvNV(Enums.NV_register_combiners pname, System.IntPtr @params) + { + Delegates.glCombinerParameterfvNV(pname, @params); + } + public static void CombinerParameterfvNV(Enums.NV_register_combiners pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glCombinerParameterfvNV(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void CombinerParameterfvNV(Enums.NV_register_combiners pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -1561,14 +2660,14 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void CombinerParameterfvNV(Enums.NV_register_combiners pname, System.IntPtr @params) - { - Delegates.glCombinerParameterfvNV(pname, @params); - } public static void CombinerParameteriNV(Enums.NV_register_combiners pname, GLint param) { Delegates.glCombinerParameteriNV(pname, param); } + public static void CombinerParameterivNV(Enums.NV_register_combiners pname, System.IntPtr @params) + { + Delegates.glCombinerParameterivNV(pname, @params); + } public static void CombinerParameterivNV(Enums.NV_register_combiners pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -1581,13 +2680,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void CombinerParameterivNV(Enums.NV_register_combiners pname, System.IntPtr @params) + public static void CombinerParameterivNV(Enums.NV_register_combiners pname, ref GLint @params) { - Delegates.glCombinerParameterivNV(pname, @params); - } - public static void CombinerStageParameterfvNV(Enums.NV_register_combiners2 stage, Enums.NV_register_combiners2 pname, System.IntPtr @params) - { - Delegates.glCombinerStageParameterfvNV(stage, pname, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glCombinerParameterivNV(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void CombinerStageParameterfvNV(Enums.NV_register_combiners2 stage, Enums.NV_register_combiners2 pname, GLfloat[] @params) { @@ -1601,6 +2704,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void CombinerStageParameterfvNV(Enums.NV_register_combiners2 stage, Enums.NV_register_combiners2 pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glCombinerStageParameterfvNV(stage, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void CombinerStageParameterfvNV(Enums.NV_register_combiners2 stage, Enums.NV_register_combiners2 pname, System.IntPtr @params) + { + Delegates.glCombinerStageParameterfvNV(stage, pname, @params); + } public static void CompileShader(GLuint shader) { Delegates.glCompileShader(shader); @@ -1609,10 +2728,6 @@ namespace OpenTK.OpenGL { Delegates.glCompileShaderARB(shaderObj); } - public static void CompressedTexImage1D(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLint border, GLsizei imageSize, System.IntPtr data) - { - Delegates.glCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data); - } public static void CompressedTexImage1D(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLint border, GLsizei imageSize, object data) { GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); @@ -1625,6 +2740,14 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void CompressedTexImage1D(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLint border, GLsizei imageSize, System.IntPtr data) + { + Delegates.glCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data); + } + public static void CompressedTexImage1DARB(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLint border, GLsizei imageSize, System.IntPtr data) + { + Delegates.glCompressedTexImage1DARB(target, level, internalformat, width, border, imageSize, data); + } public static void CompressedTexImage1DARB(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLint border, GLsizei imageSize, object data) { GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); @@ -1637,10 +2760,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void CompressedTexImage1DARB(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLint border, GLsizei imageSize, System.IntPtr data) - { - Delegates.glCompressedTexImage1DARB(target, level, internalformat, width, border, imageSize, data); - } public static void CompressedTexImage2D(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, System.IntPtr data) { Delegates.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); @@ -1705,10 +2824,6 @@ namespace OpenTK.OpenGL { Delegates.glCompressedTexImage3DARB(target, level, internalformat, width, height, depth, border, imageSize, data); } - public static void CompressedTexSubImage1D(Enums.TextureTarget target, GLint level, GLint xoffset, GLsizei width, Enums.PixelFormat format, GLsizei imageSize, System.IntPtr data) - { - Delegates.glCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); - } public static void CompressedTexSubImage1D(Enums.TextureTarget target, GLint level, GLint xoffset, GLsizei width, Enums.PixelFormat format, GLsizei imageSize, object data) { GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); @@ -1721,6 +2836,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void CompressedTexSubImage1D(Enums.TextureTarget target, GLint level, GLint xoffset, GLsizei width, Enums.PixelFormat format, GLsizei imageSize, System.IntPtr data) + { + Delegates.glCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); + } public static void CompressedTexSubImage1DARB(Enums.TextureTarget target, GLint level, GLint xoffset, GLsizei width, Enums.PixelFormat format, GLsizei imageSize, object data) { GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); @@ -1753,10 +2872,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void CompressedTexSubImage2DARB(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, Enums.PixelFormat format, GLsizei imageSize, System.IntPtr data) - { - Delegates.glCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, imageSize, data); - } public static void CompressedTexSubImage2DARB(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, Enums.PixelFormat format, GLsizei imageSize, object data) { GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); @@ -1769,6 +2884,14 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void CompressedTexSubImage2DARB(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, Enums.PixelFormat format, GLsizei imageSize, System.IntPtr data) + { + Delegates.glCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, imageSize, data); + } + public static void CompressedTexSubImage3D(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, Enums.PixelFormat format, GLsizei imageSize, System.IntPtr data) + { + Delegates.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); + } public static void CompressedTexSubImage3D(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, Enums.PixelFormat format, GLsizei imageSize, object data) { GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); @@ -1781,10 +2904,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void CompressedTexSubImage3D(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, Enums.PixelFormat format, GLsizei imageSize, System.IntPtr data) - { - Delegates.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); - } public static void CompressedTexSubImage3DARB(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, Enums.PixelFormat format, GLsizei imageSize, System.IntPtr data) { Delegates.glCompressedTexSubImage3DARB(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); @@ -1801,6 +2920,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ConvolutionFilter1D(Enums.VERSION_1_2 target, Enums.PixelInternalFormat internalformat, GLsizei width, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr image) + { + Delegates.glConvolutionFilter1D(target, internalformat, width, format, type, image); + } public static void ConvolutionFilter1D(Enums.VERSION_1_2 target, Enums.PixelInternalFormat internalformat, GLsizei width, Enums.PixelFormat format, Enums.PixelType type, object image) { GCHandle h0 = GCHandle.Alloc(image, GCHandleType.Pinned); @@ -1813,10 +2936,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ConvolutionFilter1D(Enums.VERSION_1_2 target, Enums.PixelInternalFormat internalformat, GLsizei width, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr image) - { - Delegates.glConvolutionFilter1D(target, internalformat, width, format, type, image); - } public static void ConvolutionFilter1DEXT(Enums.ConvolutionTargetEXT target, Enums.PixelInternalFormat internalformat, GLsizei width, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr image) { Delegates.glConvolutionFilter1DEXT(target, internalformat, width, format, type, image); @@ -1873,6 +2992,22 @@ namespace OpenTK.OpenGL { Delegates.glConvolutionParameterfEXT(target, pname, @params); } + public static void ConvolutionParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, System.IntPtr @params) + { + Delegates.glConvolutionParameterfv(target, pname, @params); + } + public static void ConvolutionParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glConvolutionParameterfv(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ConvolutionParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -1885,9 +3020,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ConvolutionParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, System.IntPtr @params) + public static void ConvolutionParameterfvEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, System.IntPtr @params) { - Delegates.glConvolutionParameterfv(target, pname, @params); + Delegates.glConvolutionParameterfvEXT(target, pname, @params); } public static void ConvolutionParameterfvEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, GLfloat[] @params) { @@ -1901,9 +3036,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ConvolutionParameterfvEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, System.IntPtr @params) + public static void ConvolutionParameterfvEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, ref GLfloat @params) { - Delegates.glConvolutionParameterfvEXT(target, pname, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glConvolutionParameterfvEXT(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void ConvolutionParameteri(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, GLint @params) { @@ -1925,10 +3068,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ConvolutionParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glConvolutionParameteriv(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ConvolutionParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, System.IntPtr @params) { Delegates.glConvolutionParameteriv(target, pname, @params); } + public static void ConvolutionParameterivEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glConvolutionParameterivEXT(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ConvolutionParameterivEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -2041,6 +3208,10 @@ namespace OpenTK.OpenGL { Delegates.glCullFace(mode); } + public static void CullParameterdvEXT(Enums.EXT_cull_vertex pname, [In, Out()] System.IntPtr @params) + { + Delegates.glCullParameterdvEXT(pname, @params); + } public static void CullParameterdvEXT(Enums.EXT_cull_vertex pname, GLdouble[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -2053,9 +3224,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void CullParameterdvEXT(Enums.EXT_cull_vertex pname, [In, Out()] System.IntPtr @params) + public static void CullParameterdvEXT(Enums.EXT_cull_vertex pname, out GLdouble @params) { - Delegates.glCullParameterdvEXT(pname, @params); + @params = default(GLdouble); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glCullParameterdvEXT(pname, h0.AddrOfPinnedObject()); + @params = (GLdouble)h0.Target; + } + finally + { + h0.Free(); + } } public static void CullParameterfvEXT(Enums.EXT_cull_vertex pname, [In, Out()] System.IntPtr @params) { @@ -2073,14 +3254,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void CullParameterfvEXT(Enums.EXT_cull_vertex pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glCullParameterfvEXT(pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void CurrentPaletteMatrixARB(GLint index) { Delegates.glCurrentPaletteMatrixARB(index); } - public static void DeformationMap3dSGIX(Enums.FfdTargetSGIX target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, System.IntPtr points) - { - Delegates.glDeformationMap3dSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); - } public static void DeformationMap3dSGIX(Enums.FfdTargetSGIX target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, GLdouble[] points) { GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); @@ -2093,6 +3284,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void DeformationMap3dSGIX(Enums.FfdTargetSGIX target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, System.IntPtr points) + { + Delegates.glDeformationMap3dSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); + } + public static void DeformationMap3dSGIX(Enums.FfdTargetSGIX target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, ref GLdouble points) + { + GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glDeformationMap3dSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void DeformationMap3fSGIX(Enums.FfdTargetSGIX target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, System.IntPtr points) + { + Delegates.glDeformationMap3fSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); + } + public static void DeformationMap3fSGIX(Enums.FfdTargetSGIX target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, ref GLfloat points) + { + GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glDeformationMap3fSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void DeformationMap3fSGIX(Enums.FfdTargetSGIX target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, GLfloat[] points) { GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); @@ -2105,10 +3328,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void DeformationMap3fSGIX(Enums.FfdTargetSGIX target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, System.IntPtr points) - { - Delegates.glDeformationMap3fSGIX(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); - } public static void DeformSGIX(Enums.FfdMaskSGIX mask) { Delegates.glDeformSGIX(mask); @@ -2133,10 +3352,34 @@ namespace OpenTK.OpenGL { Delegates.glDeleteBuffers(n, buffers); } + public static void DeleteBuffers(GLsizei n, ref GLuint buffers) + { + GCHandle h0 = GCHandle.Alloc(buffers, GCHandleType.Pinned); + try + { + Delegates.glDeleteBuffers(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void DeleteBuffersARB(GLsizei n, System.IntPtr buffers) { Delegates.glDeleteBuffersARB(n, buffers); } + public static void DeleteBuffersARB(GLsizei n, ref GLuint buffers) + { + GCHandle h0 = GCHandle.Alloc(buffers, GCHandleType.Pinned); + try + { + Delegates.glDeleteBuffersARB(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void DeleteBuffersARB(GLsizei n, GLuint[] buffers) { GCHandle h0 = GCHandle.Alloc(buffers, GCHandleType.Pinned); @@ -2149,7 +3392,7 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void DeleteFencesAPPLE(GLsizei n, GLuint[] fences) + public static void DeleteFencesAPPLE(GLsizei n, ref GLuint fences) { GCHandle h0 = GCHandle.Alloc(fences, GCHandleType.Pinned); try @@ -2165,6 +3408,30 @@ namespace OpenTK.OpenGL { Delegates.glDeleteFencesAPPLE(n, fences); } + public static void DeleteFencesAPPLE(GLsizei n, GLuint[] fences) + { + GCHandle h0 = GCHandle.Alloc(fences, GCHandleType.Pinned); + try + { + Delegates.glDeleteFencesAPPLE(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void DeleteFencesNV(GLsizei n, ref GLuint fences) + { + GCHandle h0 = GCHandle.Alloc(fences, GCHandleType.Pinned); + try + { + Delegates.glDeleteFencesNV(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void DeleteFencesNV(GLsizei n, GLuint[] fences) { GCHandle h0 = GCHandle.Alloc(fences, GCHandleType.Pinned); @@ -2185,10 +3452,6 @@ namespace OpenTK.OpenGL { Delegates.glDeleteFragmentShaderATI(id); } - public static void DeleteFramebuffersEXT(GLsizei n, System.IntPtr framebuffers) - { - Delegates.glDeleteFramebuffersEXT(n, framebuffers); - } public static void DeleteFramebuffersEXT(GLsizei n, GLuint[] framebuffers) { GCHandle h0 = GCHandle.Alloc(framebuffers, GCHandleType.Pinned); @@ -2201,6 +3464,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void DeleteFramebuffersEXT(GLsizei n, ref GLuint framebuffers) + { + GCHandle h0 = GCHandle.Alloc(framebuffers, GCHandleType.Pinned); + try + { + Delegates.glDeleteFramebuffersEXT(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void DeleteFramebuffersEXT(GLsizei n, System.IntPtr framebuffers) + { + Delegates.glDeleteFramebuffersEXT(n, framebuffers); + } public static void DeleteLists(GLuint list, GLsizei range) { Delegates.glDeleteLists(list, range); @@ -2213,6 +3492,18 @@ namespace OpenTK.OpenGL { Delegates.glDeleteOcclusionQueriesNV(n, ids); } + public static void DeleteOcclusionQueriesNV(GLsizei n, ref GLuint ids) + { + GCHandle h0 = GCHandle.Alloc(ids, GCHandleType.Pinned); + try + { + Delegates.glDeleteOcclusionQueriesNV(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void DeleteOcclusionQueriesNV(GLsizei n, GLuint[] ids) { GCHandle h0 = GCHandle.Alloc(ids, GCHandleType.Pinned); @@ -2229,6 +3520,18 @@ namespace OpenTK.OpenGL { Delegates.glDeleteProgram(program); } + public static void DeleteProgramsARB(GLsizei n, ref GLuint programs) + { + GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); + try + { + Delegates.glDeleteProgramsARB(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void DeleteProgramsARB(GLsizei n, System.IntPtr programs) { Delegates.glDeleteProgramsARB(n, programs); @@ -2245,7 +3548,7 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void DeleteProgramsNV(GLsizei n, GLuint[] programs) + public static void DeleteProgramsNV(GLsizei n, ref GLuint programs) { GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); try @@ -2261,6 +3564,30 @@ namespace OpenTK.OpenGL { Delegates.glDeleteProgramsNV(n, programs); } + public static void DeleteProgramsNV(GLsizei n, GLuint[] programs) + { + GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); + try + { + Delegates.glDeleteProgramsNV(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void DeleteQueries(GLsizei n, ref GLuint ids) + { + GCHandle h0 = GCHandle.Alloc(ids, GCHandleType.Pinned); + try + { + Delegates.glDeleteQueries(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void DeleteQueries(GLsizei n, System.IntPtr ids) { Delegates.glDeleteQueries(n, ids); @@ -2277,6 +3604,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void DeleteQueriesARB(GLsizei n, ref GLuint ids) + { + GCHandle h0 = GCHandle.Alloc(ids, GCHandleType.Pinned); + try + { + Delegates.glDeleteQueriesARB(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void DeleteQueriesARB(GLsizei n, GLuint[] ids) { GCHandle h0 = GCHandle.Alloc(ids, GCHandleType.Pinned); @@ -2293,11 +3632,23 @@ namespace OpenTK.OpenGL { Delegates.glDeleteQueriesARB(n, ids); } + public static void DeleteRenderbuffersEXT(GLsizei n, GLuint[] renderbuffers) + { + GCHandle h0 = GCHandle.Alloc(renderbuffers, GCHandleType.Pinned); + try + { + Delegates.glDeleteRenderbuffersEXT(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void DeleteRenderbuffersEXT(GLsizei n, System.IntPtr renderbuffers) { Delegates.glDeleteRenderbuffersEXT(n, renderbuffers); } - public static void DeleteRenderbuffersEXT(GLsizei n, GLuint[] renderbuffers) + public static void DeleteRenderbuffersEXT(GLsizei n, ref GLuint renderbuffers) { GCHandle h0 = GCHandle.Alloc(renderbuffers, GCHandleType.Pinned); try @@ -2313,9 +3664,17 @@ namespace OpenTK.OpenGL { Delegates.glDeleteShader(shader); } - public static void DeleteTextures(GLsizei n, System.IntPtr textures) + public static void DeleteTextures(GLsizei n, ref GLuint textures) { - Delegates.glDeleteTextures(n, textures); + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + try + { + Delegates.glDeleteTextures(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void DeleteTextures(GLsizei n, GLuint[] textures) { @@ -2329,9 +3688,21 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void DeleteTexturesEXT(GLsizei n, System.IntPtr textures) + public static void DeleteTextures(GLsizei n, System.IntPtr textures) { - Delegates.glDeleteTexturesEXT(n, textures); + Delegates.glDeleteTextures(n, textures); + } + public static void DeleteTexturesEXT(GLsizei n, ref GLuint textures) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + try + { + Delegates.glDeleteTexturesEXT(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void DeleteTexturesEXT(GLsizei n, GLuint[] textures) { @@ -2345,6 +3716,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void DeleteTexturesEXT(GLsizei n, System.IntPtr textures) + { + Delegates.glDeleteTexturesEXT(n, textures); + } + public static void DeleteVertexArraysAPPLE(GLsizei n, ref GLuint arrays) + { + GCHandle h0 = GCHandle.Alloc(arrays, GCHandleType.Pinned); + try + { + Delegates.glDeleteVertexArraysAPPLE(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void DeleteVertexArraysAPPLE(GLsizei n, System.IntPtr arrays) { Delegates.glDeleteVertexArraysAPPLE(n, arrays); @@ -2397,6 +3784,22 @@ namespace OpenTK.OpenGL { Delegates.glDetachShader(program, shader); } + public static void DetailTexFuncSGIS(Enums.TextureTarget target, GLsizei n, System.IntPtr points) + { + Delegates.glDetailTexFuncSGIS(target, n, points); + } + public static void DetailTexFuncSGIS(Enums.TextureTarget target, GLsizei n, ref GLfloat points) + { + GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glDetailTexFuncSGIS(target, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void DetailTexFuncSGIS(Enums.TextureTarget target, GLsizei n, GLfloat[] points) { GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); @@ -2409,10 +3812,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void DetailTexFuncSGIS(Enums.TextureTarget target, GLsizei n, System.IntPtr points) - { - Delegates.glDetailTexFuncSGIS(target, n, points); - } public static void Disable(Enums.EnableCap cap) { Delegates.glDisable(cap); @@ -2421,7 +3820,7 @@ namespace OpenTK.OpenGL { Delegates.glDisableClientState(array); } - public static void DisableIndexedEXT(Enums.EXT_draw_buffers2 target, GLuint index) + public static void DisableIndexedEXT(Enums.GLenum target, GLuint index) { Delegates.glDisableIndexedEXT(target, index); } @@ -2469,11 +3868,35 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void DrawBuffers(GLsizei n, ref Enums.VERSION_2_0 bufs) + { + GCHandle h0 = GCHandle.Alloc(bufs, GCHandleType.Pinned); + try + { + Delegates.glDrawBuffers(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void DrawBuffersARB(GLsizei n, Enums.ARB_draw_buffers[] bufs) + { + GCHandle h0 = GCHandle.Alloc(bufs, GCHandleType.Pinned); + try + { + Delegates.glDrawBuffersARB(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void DrawBuffersARB(GLsizei n, System.IntPtr bufs) { Delegates.glDrawBuffersARB(n, bufs); } - public static void DrawBuffersARB(GLsizei n, Enums.ARB_draw_buffers[] bufs) + public static void DrawBuffersARB(GLsizei n, ref Enums.ARB_draw_buffers bufs) { GCHandle h0 = GCHandle.Alloc(bufs, GCHandleType.Pinned); try @@ -2501,6 +3924,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void DrawBuffersATI(GLsizei n, ref Enums.ATI_draw_buffers bufs) + { + GCHandle h0 = GCHandle.Alloc(bufs, GCHandleType.Pinned); + try + { + Delegates.glDrawBuffersATI(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void DrawElementArrayAPPLE(Enums.BeginMode mode, GLint first, GLsizei count) { Delegates.glDrawElementArrayAPPLE(mode, first, count); @@ -2509,11 +3944,7 @@ namespace OpenTK.OpenGL { Delegates.glDrawElementArrayATI(mode, count); } - public static void DrawElements(Enums.BeginMode mode, GLsizei count, GLenum type, System.IntPtr indices) - { - Delegates.glDrawElements(mode, count, type, indices); - } - public static void DrawElements(Enums.BeginMode mode, GLsizei count, GLenum type, object indices) + public static void DrawElements(Enums.BeginMode mode, GLsizei count, Enums.GLenum type, object indices) { GCHandle h0 = GCHandle.Alloc(indices, GCHandleType.Pinned); try @@ -2525,6 +3956,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void DrawElements(Enums.BeginMode mode, GLsizei count, Enums.GLenum type, System.IntPtr indices) + { + Delegates.glDrawElements(mode, count, type, indices); + } public static void DrawElementsInstancedEXT(Enums.BeginMode mode, GLsizei count, Enums.EXT_draw_instanced type, System.IntPtr indices, GLsizei primcount) { Delegates.glDrawElementsInstancedEXT(mode, count, type, indices, primcount); @@ -2545,10 +3980,6 @@ namespace OpenTK.OpenGL { Delegates.glDrawMeshArraysSUN(mode, first, count, width); } - public static void DrawPixels(GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) - { - Delegates.glDrawPixels(width, height, format, type, pixels); - } public static void DrawPixels(GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, object pixels) { GCHandle h0 = GCHandle.Alloc(pixels, GCHandleType.Pinned); @@ -2561,6 +3992,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void DrawPixels(GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) + { + Delegates.glDrawPixels(width, height, format, type, pixels); + } public static void DrawRangeElementArrayAPPLE(Enums.BeginMode mode, GLuint start, GLuint end, GLint first, GLsizei count) { Delegates.glDrawRangeElementArrayAPPLE(mode, start, end, first, count); @@ -2605,6 +4040,10 @@ namespace OpenTK.OpenGL { Delegates.glEdgeFlag(flag); } + public static void EdgeFlagPointer(GLsizei stride, System.IntPtr pointer) + { + Delegates.glEdgeFlagPointer(stride, pointer); + } public static void EdgeFlagPointer(GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -2617,11 +4056,7 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void EdgeFlagPointer(GLsizei stride, System.IntPtr pointer) - { - Delegates.glEdgeFlagPointer(stride, pointer); - } - public static void EdgeFlagPointerEXT(GLsizei stride, GLsizei count, Enums.Boolean[] pointer) + public static void EdgeFlagPointerEXT(GLsizei stride, GLsizei count, ref Enums.Boolean pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); try @@ -2637,9 +4072,29 @@ namespace OpenTK.OpenGL { Delegates.glEdgeFlagPointerEXT(stride, count, pointer); } - public static void EdgeFlagPointerListIBM(GLint stride, System.IntPtr pointer, GLint ptrstride) + public static void EdgeFlagPointerEXT(GLsizei stride, GLsizei count, Enums.Boolean[] pointer) { - Delegates.glEdgeFlagPointerListIBM(stride, pointer, ptrstride); + GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointerEXT(stride, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void EdgeFlagPointerListIBM(GLint stride, ref GLboolean pointer, GLint ptrstride) + { + GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagPointerListIBM(stride, h0.AddrOfPinnedObject(), ptrstride); + } + finally + { + h0.Free(); + } } public static void EdgeFlagPointerListIBM(GLint stride, GLboolean[] pointer, GLint ptrstride) { @@ -2653,9 +4108,21 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void EdgeFlagv(System.IntPtr flag) + public static void EdgeFlagPointerListIBM(GLint stride, System.IntPtr pointer, GLint ptrstride) { - Delegates.glEdgeFlagv(flag); + Delegates.glEdgeFlagPointerListIBM(stride, pointer, ptrstride); + } + public static void EdgeFlagv(ref Enums.Boolean flag) + { + GCHandle h0 = GCHandle.Alloc(flag, GCHandleType.Pinned); + try + { + Delegates.glEdgeFlagv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void EdgeFlagv(Enums.Boolean[] flag) { @@ -2669,9 +4136,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ElementPointerAPPLE(Enums.APPLE_element_array type, System.IntPtr pointer) + public static void EdgeFlagv(System.IntPtr flag) { - Delegates.glElementPointerAPPLE(type, pointer); + Delegates.glEdgeFlagv(flag); } public static void ElementPointerAPPLE(Enums.APPLE_element_array type, object pointer) { @@ -2685,6 +4152,14 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ElementPointerAPPLE(Enums.APPLE_element_array type, System.IntPtr pointer) + { + Delegates.glElementPointerAPPLE(type, pointer); + } + public static void ElementPointerATI(Enums.ATI_element_array type, System.IntPtr pointer) + { + Delegates.glElementPointerATI(type, pointer); + } public static void ElementPointerATI(Enums.ATI_element_array type, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -2697,10 +4172,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ElementPointerATI(Enums.ATI_element_array type, System.IntPtr pointer) - { - Delegates.glElementPointerATI(type, pointer); - } public static void Enable(Enums.EnableCap cap) { Delegates.glEnable(cap); @@ -2709,7 +4180,7 @@ namespace OpenTK.OpenGL { Delegates.glEnableClientState(array); } - public static void EnableIndexedEXT(Enums.EXT_draw_buffers2 target, GLuint index) + public static void EnableIndexedEXT(Enums.GLenum target, GLuint index) { Delegates.glEnableIndexedEXT(target, index); } @@ -2773,6 +4244,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void EvalCoord1dv(ref GLdouble u) + { + GCHandle h0 = GCHandle.Alloc(u, GCHandleType.Pinned); + try + { + Delegates.glEvalCoord1dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void EvalCoord1dv(System.IntPtr u) { Delegates.glEvalCoord1dv(u); @@ -2781,6 +4264,10 @@ namespace OpenTK.OpenGL { Delegates.glEvalCoord1f(u); } + public static void EvalCoord1fv(System.IntPtr u) + { + Delegates.glEvalCoord1fv(u); + } public static void EvalCoord1fv(GLfloat[] u) { GCHandle h0 = GCHandle.Alloc(u, GCHandleType.Pinned); @@ -2793,14 +4280,38 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void EvalCoord1fv(System.IntPtr u) + public static void EvalCoord1fv(ref GLfloat u) { - Delegates.glEvalCoord1fv(u); + GCHandle h0 = GCHandle.Alloc(u, GCHandleType.Pinned); + try + { + Delegates.glEvalCoord1fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void EvalCoord2d(GLdouble u, GLdouble v) { Delegates.glEvalCoord2d(u, v); } + public static void EvalCoord2dv(System.IntPtr u) + { + Delegates.glEvalCoord2dv(u); + } + public static void EvalCoord2dv(ref GLdouble u) + { + GCHandle h0 = GCHandle.Alloc(u, GCHandleType.Pinned); + try + { + Delegates.glEvalCoord2dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void EvalCoord2dv(GLdouble[] u) { GCHandle h0 = GCHandle.Alloc(u, GCHandleType.Pinned); @@ -2813,14 +4324,22 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void EvalCoord2dv(System.IntPtr u) - { - Delegates.glEvalCoord2dv(u); - } public static void EvalCoord2f(GLfloat u, GLfloat v) { Delegates.glEvalCoord2f(u, v); } + public static void EvalCoord2fv(ref GLfloat u) + { + GCHandle h0 = GCHandle.Alloc(u, GCHandleType.Pinned); + try + { + Delegates.glEvalCoord2fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void EvalCoord2fv(GLfloat[] u) { GCHandle h0 = GCHandle.Alloc(u, GCHandleType.Pinned); @@ -2857,6 +4376,18 @@ namespace OpenTK.OpenGL { Delegates.glEvalPoint2(i, j); } + public static void ExecuteProgramNV(Enums.NV_vertex_program target, GLuint id, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glExecuteProgramNV(target, id, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ExecuteProgramNV(Enums.NV_vertex_program target, GLuint id, System.IntPtr @params) { Delegates.glExecuteProgramNV(target, id, @params); @@ -2877,6 +4408,24 @@ namespace OpenTK.OpenGL { Delegates.glExtractComponentEXT(res, src, num); } + public static void FeedbackBuffer(GLsizei size, Enums.FeedbackType type, [In, Out()] System.IntPtr buffer) + { + Delegates.glFeedbackBuffer(size, type, buffer); + } + public static void FeedbackBuffer(GLsizei size, Enums.FeedbackType type, out GLfloat buffer) + { + buffer = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(buffer, GCHandleType.Pinned); + try + { + Delegates.glFeedbackBuffer(size, type, h0.AddrOfPinnedObject()); + buffer = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void FeedbackBuffer(GLsizei size, Enums.FeedbackType type, GLfloat[] buffer) { GCHandle h0 = GCHandle.Alloc(buffer, GCHandleType.Pinned); @@ -2889,10 +4438,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void FeedbackBuffer(GLsizei size, Enums.FeedbackType type, [In, Out()] System.IntPtr buffer) - { - Delegates.glFeedbackBuffer(size, type, buffer); - } public static void FinalCombinerInputNV(Enums.NV_register_combiners variable, Enums.NV_register_combiners input, Enums.NV_register_combiners mapping, Enums.NV_register_combiners componentUsage) { Delegates.glFinalCombinerInputNV(variable, input, mapping, componentUsage); @@ -2910,7 +4455,25 @@ namespace OpenTK.OpenGL GCHandle h0 = GCHandle.Alloc(markerp, GCHandleType.Pinned); try { - return Delegates.glFinishAsyncSGIX(h0.AddrOfPinnedObject()); + GLint retval; + retval = Delegates.glFinishAsyncSGIX(h0.AddrOfPinnedObject()); + return retval; + } + finally + { + h0.Free(); + } + } + public static GLint FinishAsyncSGIX(out GLuint markerp) + { + markerp = default(GLuint); + GCHandle h0 = GCHandle.Alloc(markerp, GCHandleType.Pinned); + try + { + GLint retval; + retval = Delegates.glFinishAsyncSGIX(h0.AddrOfPinnedObject()); + markerp = (GLuint)h0.Target; + return retval; } finally { @@ -2937,7 +4500,7 @@ namespace OpenTK.OpenGL { Delegates.glFlush(); } - public static void FlushMappedBufferRangeAPPLE(Enums.APPLE_flush_buffer_range target, GLintptr offset, GLsizeiptr size) + public static void FlushMappedBufferRangeAPPLE(Enums.GLenum target, GLintptr offset, GLsizeiptr size) { Delegates.glFlushMappedBufferRangeAPPLE(target, offset, size); } @@ -2949,6 +4512,10 @@ namespace OpenTK.OpenGL { Delegates.glFlushRasterSGIX(); } + public static void FlushVertexArrayRangeAPPLE(GLsizei length, [In, Out()] System.IntPtr pointer) + { + Delegates.glFlushVertexArrayRangeAPPLE(length, pointer); + } public static void FlushVertexArrayRangeAPPLE(GLsizei length, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -2961,10 +4528,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void FlushVertexArrayRangeAPPLE(GLsizei length, [In, Out()] System.IntPtr pointer) - { - Delegates.glFlushVertexArrayRangeAPPLE(length, pointer); - } public static void FlushVertexArrayRangeNV() { Delegates.glFlushVertexArrayRangeNV(); @@ -2977,6 +4540,18 @@ namespace OpenTK.OpenGL { Delegates.glFogCoorddEXT(coord); } + public static void FogCoorddv(ref GLdouble coord) + { + GCHandle h0 = GCHandle.Alloc(coord, GCHandleType.Pinned); + try + { + Delegates.glFogCoorddv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void FogCoorddv(GLdouble[] coord) { GCHandle h0 = GCHandle.Alloc(coord, GCHandleType.Pinned); @@ -3009,6 +4584,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void FogCoorddvEXT(ref GLdouble coord) + { + GCHandle h0 = GCHandle.Alloc(coord, GCHandleType.Pinned); + try + { + Delegates.glFogCoorddvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void FogCoordf(GLfloat coord) { Delegates.glFogCoordf(coord); @@ -3021,6 +4608,18 @@ namespace OpenTK.OpenGL { Delegates.glFogCoordfv(coord); } + public static void FogCoordfv(ref GLfloat coord) + { + GCHandle h0 = GCHandle.Alloc(coord, GCHandleType.Pinned); + try + { + Delegates.glFogCoordfv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void FogCoordfv(GLfloat[] coord) { GCHandle h0 = GCHandle.Alloc(coord, GCHandleType.Pinned); @@ -3033,6 +4632,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void FogCoordfvEXT(ref GLfloat coord) + { + GCHandle h0 = GCHandle.Alloc(coord, GCHandleType.Pinned); + try + { + Delegates.glFogCoordfvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void FogCoordfvEXT(System.IntPtr coord) { Delegates.glFogCoordfvEXT(coord); @@ -3053,9 +4664,17 @@ namespace OpenTK.OpenGL { Delegates.glFogCoordhNV(fog); } - public static void FogCoordhvNV(System.IntPtr fog) + public static void FogCoordhvNV(ref GLhalfNV fog) { - Delegates.glFogCoordhvNV(fog); + GCHandle h0 = GCHandle.Alloc(fog, GCHandleType.Pinned); + try + { + Delegates.glFogCoordhvNV(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void FogCoordhvNV(GLhalfNV[] fog) { @@ -3069,6 +4688,14 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void FogCoordhvNV(System.IntPtr fog) + { + Delegates.glFogCoordhvNV(fog); + } + public static void FogCoordPointer(Enums.VERSION_1_4 type, GLsizei stride, System.IntPtr pointer) + { + Delegates.glFogCoordPointer(type, stride, pointer); + } public static void FogCoordPointer(Enums.VERSION_1_4 type, GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -3081,10 +4708,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void FogCoordPointer(Enums.VERSION_1_4 type, GLsizei stride, System.IntPtr pointer) - { - Delegates.glFogCoordPointer(type, stride, pointer); - } public static void FogCoordPointerEXT(Enums.EXT_fog_coord type, GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -3105,26 +4728,22 @@ namespace OpenTK.OpenGL { Delegates.glFogCoordPointerListIBM(type, stride, pointer, ptrstride); } - public static void FogCoordPointerListIBM(Enums.IBM_vertex_array_lists type, GLint stride, IntPtr[] pointer, GLint ptrstride) + public static void Fogf(Enums.FogParameter pname, GLfloat param) { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); + Delegates.glFogf(pname, param); + } + public static void FogFuncSGIS(GLsizei n, ref GLfloat points) + { + GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); try { - Delegates.glFogCoordPointerListIBM(type, stride, h0.AddrOfPinnedObject(), ptrstride); + Delegates.glFogFuncSGIS(n, h0.AddrOfPinnedObject()); } finally { h0.Free(); } } - public static void Fogf(Enums.FogParameter pname, GLfloat param) - { - Delegates.glFogf(pname, param); - } - public static void FogFuncSGIS(GLsizei n, System.IntPtr points) - { - Delegates.glFogFuncSGIS(n, points); - } public static void FogFuncSGIS(GLsizei n, GLfloat[] points) { GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); @@ -3137,6 +4756,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void FogFuncSGIS(GLsizei n, System.IntPtr points) + { + Delegates.glFogFuncSGIS(n, points); + } public static void Fogfv(Enums.FogParameter pname, System.IntPtr @params) { Delegates.glFogfv(pname, @params); @@ -3153,10 +4776,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Fogfv(Enums.FogParameter pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glFogfv(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Fogi(Enums.FogParameter pname, GLint param) { Delegates.glFogi(pname, param); } + public static void Fogiv(Enums.FogParameter pname, System.IntPtr @params) + { + Delegates.glFogiv(pname, @params); + } + public static void Fogiv(Enums.FogParameter pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glFogiv(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Fogiv(Enums.FogParameter pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -3169,10 +4820,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Fogiv(Enums.FogParameter pname, System.IntPtr @params) - { - Delegates.glFogiv(pname, @params); - } public static void FragmentColorMaterialSGIX(Enums.MaterialFace face, Enums.MaterialParameter mode) { Delegates.glFragmentColorMaterialSGIX(face, mode); @@ -3181,6 +4828,18 @@ namespace OpenTK.OpenGL { Delegates.glFragmentLightfSGIX(light, pname, param); } + public static void FragmentLightfvSGIX(Enums.SGIX_fragment_lighting light, Enums.SGIX_fragment_lighting pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glFragmentLightfvSGIX(light, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void FragmentLightfvSGIX(Enums.SGIX_fragment_lighting light, Enums.SGIX_fragment_lighting pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -3201,6 +4860,18 @@ namespace OpenTK.OpenGL { Delegates.glFragmentLightiSGIX(light, pname, param); } + public static void FragmentLightivSGIX(Enums.SGIX_fragment_lighting light, Enums.SGIX_fragment_lighting pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glFragmentLightivSGIX(light, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void FragmentLightivSGIX(Enums.SGIX_fragment_lighting light, Enums.SGIX_fragment_lighting pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -3221,9 +4892,17 @@ namespace OpenTK.OpenGL { Delegates.glFragmentLightModelfSGIX(pname, param); } - public static void FragmentLightModelfvSGIX(Enums.FragmentLightModelParameterSGIX pname, System.IntPtr @params) + public static void FragmentLightModelfvSGIX(Enums.FragmentLightModelParameterSGIX pname, ref GLfloat @params) { - Delegates.glFragmentLightModelfvSGIX(pname, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glFragmentLightModelfvSGIX(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void FragmentLightModelfvSGIX(Enums.FragmentLightModelParameterSGIX pname, GLfloat[] @params) { @@ -3237,6 +4916,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void FragmentLightModelfvSGIX(Enums.FragmentLightModelParameterSGIX pname, System.IntPtr @params) + { + Delegates.glFragmentLightModelfvSGIX(pname, @params); + } public static void FragmentLightModeliSGIX(Enums.FragmentLightModelParameterSGIX pname, GLint param) { Delegates.glFragmentLightModeliSGIX(pname, param); @@ -3257,10 +4940,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void FragmentLightModelivSGIX(Enums.FragmentLightModelParameterSGIX pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glFragmentLightModelivSGIX(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void FragmentMaterialfSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, GLfloat param) { Delegates.glFragmentMaterialfSGIX(face, pname, param); } + public static void FragmentMaterialfvSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, System.IntPtr @params) + { + Delegates.glFragmentMaterialfvSGIX(face, pname, @params); + } + public static void FragmentMaterialfvSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glFragmentMaterialfvSGIX(face, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void FragmentMaterialfvSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -3273,17 +4984,21 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void FragmentMaterialfvSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, System.IntPtr @params) - { - Delegates.glFragmentMaterialfvSGIX(face, pname, @params); - } public static void FragmentMaterialiSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, GLint param) { Delegates.glFragmentMaterialiSGIX(face, pname, param); } - public static void FragmentMaterialivSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, System.IntPtr @params) + public static void FragmentMaterialivSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, ref GLint @params) { - Delegates.glFragmentMaterialivSGIX(face, pname, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glFragmentMaterialivSGIX(face, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void FragmentMaterialivSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, GLint[] @params) { @@ -3297,19 +5012,23 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void FragmentMaterialivSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, System.IntPtr @params) + { + Delegates.glFragmentMaterialivSGIX(face, pname, @params); + } public static void FramebufferRenderbufferEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.EXT_framebuffer_object renderbuffertarget, GLuint renderbuffer) { Delegates.glFramebufferRenderbufferEXT(target, attachment, renderbuffertarget, renderbuffer); } - public static void FramebufferTexture1DEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.EXT_framebuffer_object textarget, GLuint texture, GLint level) + public static void FramebufferTexture1DEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.GLenum textarget, GLuint texture, GLint level) { Delegates.glFramebufferTexture1DEXT(target, attachment, textarget, texture, level); } - public static void FramebufferTexture2DEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.EXT_framebuffer_object textarget, GLuint texture, GLint level) + public static void FramebufferTexture2DEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.GLenum textarget, GLuint texture, GLint level) { Delegates.glFramebufferTexture2DEXT(target, attachment, textarget, texture, level); } - public static void FramebufferTexture3DEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.EXT_framebuffer_object textarget, GLuint texture, GLint level, GLint zoffset) + public static void FramebufferTexture3DEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.GLenum textarget, GLuint texture, GLint level, GLint zoffset) { Delegates.glFramebufferTexture3DEXT(target, attachment, textarget, texture, level, zoffset); } @@ -3345,6 +5064,24 @@ namespace OpenTK.OpenGL { return Delegates.glGenAsyncMarkersSGIX(range); } + public static void GenBuffers(GLsizei n, out GLuint buffers) + { + buffers = default(GLuint); + GCHandle h0 = GCHandle.Alloc(buffers, GCHandleType.Pinned); + try + { + Delegates.glGenBuffers(n, h0.AddrOfPinnedObject()); + buffers = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GenBuffers(GLsizei n, [In, Out()] System.IntPtr buffers) + { + Delegates.glGenBuffers(n, buffers); + } public static void GenBuffers(GLsizei n, GLuint[] buffers) { GCHandle h0 = GCHandle.Alloc(buffers, GCHandleType.Pinned); @@ -3357,13 +5094,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GenBuffers(GLsizei n, [In, Out()] System.IntPtr buffers) + public static void GenBuffersARB(GLsizei n, out GLuint buffers) { - Delegates.glGenBuffers(n, buffers); - } - public static void GenBuffersARB(GLsizei n, [In, Out()] System.IntPtr buffers) - { - Delegates.glGenBuffersARB(n, buffers); + buffers = default(GLuint); + GCHandle h0 = GCHandle.Alloc(buffers, GCHandleType.Pinned); + try + { + Delegates.glGenBuffersARB(n, h0.AddrOfPinnedObject()); + buffers = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GenBuffersARB(GLsizei n, GLuint[] buffers) { @@ -3377,7 +5120,11 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GenerateMipmapEXT(Enums.EXT_framebuffer_object target) + public static void GenBuffersARB(GLsizei n, [In, Out()] System.IntPtr buffers) + { + Delegates.glGenBuffersARB(n, buffers); + } + public static void GenerateMipmapEXT(Enums.GLenum target) { Delegates.glGenerateMipmapEXT(target); } @@ -3397,6 +5144,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GenFencesAPPLE(GLsizei n, out GLuint fences) + { + fences = default(GLuint); + GCHandle h0 = GCHandle.Alloc(fences, GCHandleType.Pinned); + try + { + Delegates.glGenFencesAPPLE(n, h0.AddrOfPinnedObject()); + fences = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GenFencesNV(GLsizei n, GLuint[] fences) { GCHandle h0 = GCHandle.Alloc(fences, GCHandleType.Pinned); @@ -3409,6 +5170,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GenFencesNV(GLsizei n, out GLuint fences) + { + fences = default(GLuint); + GCHandle h0 = GCHandle.Alloc(fences, GCHandleType.Pinned); + try + { + Delegates.glGenFencesNV(n, h0.AddrOfPinnedObject()); + fences = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GenFencesNV(GLsizei n, [In, Out()] System.IntPtr fences) { Delegates.glGenFencesNV(n, fences); @@ -3421,6 +5196,20 @@ namespace OpenTK.OpenGL { Delegates.glGenFramebuffersEXT(n, framebuffers); } + public static void GenFramebuffersEXT(GLsizei n, out GLuint framebuffers) + { + framebuffers = default(GLuint); + GCHandle h0 = GCHandle.Alloc(framebuffers, GCHandleType.Pinned); + try + { + Delegates.glGenFramebuffersEXT(n, h0.AddrOfPinnedObject()); + framebuffers = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GenFramebuffersEXT(GLsizei n, GLuint[] framebuffers) { GCHandle h0 = GCHandle.Alloc(framebuffers, GCHandleType.Pinned); @@ -3437,10 +5226,6 @@ namespace OpenTK.OpenGL { return Delegates.glGenLists(range); } - public static void GenOcclusionQueriesNV(GLsizei n, [In, Out()] System.IntPtr ids) - { - Delegates.glGenOcclusionQueriesNV(n, ids); - } public static void GenOcclusionQueriesNV(GLsizei n, GLuint[] ids) { GCHandle h0 = GCHandle.Alloc(ids, GCHandleType.Pinned); @@ -3453,6 +5238,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GenOcclusionQueriesNV(GLsizei n, [In, Out()] System.IntPtr ids) + { + Delegates.glGenOcclusionQueriesNV(n, ids); + } + public static void GenOcclusionQueriesNV(GLsizei n, out GLuint ids) + { + ids = default(GLuint); + GCHandle h0 = GCHandle.Alloc(ids, GCHandleType.Pinned); + try + { + Delegates.glGenOcclusionQueriesNV(n, h0.AddrOfPinnedObject()); + ids = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GenProgramsARB(GLsizei n, out GLuint programs) + { + programs = default(GLuint); + GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); + try + { + Delegates.glGenProgramsARB(n, h0.AddrOfPinnedObject()); + programs = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GenProgramsARB(GLsizei n, GLuint[] programs) { GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); @@ -3469,6 +5286,20 @@ namespace OpenTK.OpenGL { Delegates.glGenProgramsARB(n, programs); } + public static void GenProgramsNV(GLsizei n, out GLuint programs) + { + programs = default(GLuint); + GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); + try + { + Delegates.glGenProgramsNV(n, h0.AddrOfPinnedObject()); + programs = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GenProgramsNV(GLsizei n, GLuint[] programs) { GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); @@ -3485,6 +5316,24 @@ namespace OpenTK.OpenGL { Delegates.glGenProgramsNV(n, programs); } + public static void GenQueries(GLsizei n, [In, Out()] System.IntPtr ids) + { + Delegates.glGenQueries(n, ids); + } + public static void GenQueries(GLsizei n, out GLuint ids) + { + ids = default(GLuint); + GCHandle h0 = GCHandle.Alloc(ids, GCHandleType.Pinned); + try + { + Delegates.glGenQueries(n, h0.AddrOfPinnedObject()); + ids = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GenQueries(GLsizei n, GLuint[] ids) { GCHandle h0 = GCHandle.Alloc(ids, GCHandleType.Pinned); @@ -3497,9 +5346,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GenQueries(GLsizei n, [In, Out()] System.IntPtr ids) + public static void GenQueriesARB(GLsizei n, [In, Out()] System.IntPtr ids) { - Delegates.glGenQueries(n, ids); + Delegates.glGenQueriesARB(n, ids); } public static void GenQueriesARB(GLsizei n, GLuint[] ids) { @@ -3513,9 +5362,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GenQueriesARB(GLsizei n, [In, Out()] System.IntPtr ids) + public static void GenQueriesARB(GLsizei n, out GLuint ids) { - Delegates.glGenQueriesARB(n, ids); + ids = default(GLuint); + GCHandle h0 = GCHandle.Alloc(ids, GCHandleType.Pinned); + try + { + Delegates.glGenQueriesARB(n, h0.AddrOfPinnedObject()); + ids = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GenRenderbuffersEXT(GLsizei n, [In, Out()] System.IntPtr renderbuffers) + { + Delegates.glGenRenderbuffersEXT(n, renderbuffers); } public static void GenRenderbuffersEXT(GLsizei n, GLuint[] renderbuffers) { @@ -3529,18 +5392,24 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GenRenderbuffersEXT(GLsizei n, [In, Out()] System.IntPtr renderbuffers) + public static void GenRenderbuffersEXT(GLsizei n, out GLuint renderbuffers) { - Delegates.glGenRenderbuffersEXT(n, renderbuffers); + renderbuffers = default(GLuint); + GCHandle h0 = GCHandle.Alloc(renderbuffers, GCHandleType.Pinned); + try + { + Delegates.glGenRenderbuffersEXT(n, h0.AddrOfPinnedObject()); + renderbuffers = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } } public static GLuint GenSymbolsEXT(Enums.EXT_vertex_shader datatype, Enums.EXT_vertex_shader storagetype, Enums.EXT_vertex_shader range, GLuint components) { return Delegates.glGenSymbolsEXT(datatype, storagetype, range, components); } - public static void GenTextures(GLsizei n, [In, Out()] System.IntPtr textures) - { - Delegates.glGenTextures(n, textures); - } public static void GenTextures(GLsizei n, GLuint[] textures) { GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); @@ -3553,6 +5422,42 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GenTextures(GLsizei n, [In, Out()] System.IntPtr textures) + { + Delegates.glGenTextures(n, textures); + } + public static void GenTextures(GLsizei n, out GLuint textures) + { + textures = default(GLuint); + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + try + { + Delegates.glGenTextures(n, h0.AddrOfPinnedObject()); + textures = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GenTexturesEXT(GLsizei n, [In, Out()] System.IntPtr textures) + { + Delegates.glGenTexturesEXT(n, textures); + } + public static void GenTexturesEXT(GLsizei n, out GLuint textures) + { + textures = default(GLuint); + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + try + { + Delegates.glGenTexturesEXT(n, h0.AddrOfPinnedObject()); + textures = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GenTexturesEXT(GLsizei n, GLuint[] textures) { GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); @@ -3565,9 +5470,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GenTexturesEXT(GLsizei n, [In, Out()] System.IntPtr textures) + public static void GenVertexArraysAPPLE(GLsizei n, [In, Out()] System.IntPtr arrays) { - Delegates.glGenTexturesEXT(n, textures); + Delegates.glGenVertexArraysAPPLE(n, arrays); } public static void GenVertexArraysAPPLE(GLsizei n, GLuint[] arrays) { @@ -3581,26 +5486,78 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GenVertexArraysAPPLE(GLsizei n, [In, Out()] System.IntPtr arrays) + public static void GenVertexArraysAPPLE(GLsizei n, out GLuint arrays) { - Delegates.glGenVertexArraysAPPLE(n, arrays); + arrays = default(GLuint); + GCHandle h0 = GCHandle.Alloc(arrays, GCHandleType.Pinned); + try + { + Delegates.glGenVertexArraysAPPLE(n, h0.AddrOfPinnedObject()); + arrays = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } } public static GLuint GenVertexShadersEXT(GLuint range) { return Delegates.glGenVertexShadersEXT(range); } - public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, GLint[] size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), type, name); + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + type = (Enums.VERSION_2_0)h2.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); } } public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, GLint[] size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) @@ -3619,154 +5576,592 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, out GLint size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(type, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), size, h1.AddrOfPinnedObject(), name); + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLint)h1.Target; + type = (System.IntPtr)h2.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); } } - public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) { + length = default(GLsizei); GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), size, type, name); + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + type = (System.IntPtr)h2.Target; } finally { h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, [In, Out()] System.IntPtr size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, out GLint size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, out GLint size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLint)h1.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); } } public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) { - GCHandle h0 = GCHandle.Alloc(size, GCHandleType.Pinned); + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveAttrib(program, index, bufSize, length, h0.AddrOfPinnedObject(), type, name); + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + type = (System.IntPtr)h2.Target; } finally { h0.Free(); + h1.Free(); + h2.Free(); } } - public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLint[] size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) { - GCHandle h0 = GCHandle.Alloc(type, GCHandleType.Pinned); + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveAttrib(program, index, bufSize, length, size, h0.AddrOfPinnedObject(), name); + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; } finally { h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (System.IntPtr)h1.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); } } public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) { Delegates.glGetActiveAttrib(program, index, bufSize, length, size, type, name); } - public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLint[] size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) { - GCHandle h0 = GCHandle.Alloc(size, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(type, GCHandleType.Pinned); + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveAttrib(program, index, bufSize, length, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), name); + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (System.IntPtr)h1.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLint[] size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, out GLint size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLint)h1.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, out GLint size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLint)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, out GLint size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, out GLint size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLint)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, out GLint size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, out GLint size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLint)h1.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, GLint[] size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, [In, Out()] System.IntPtr size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, GLint[] size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttrib(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); } } public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) { - GCHandle h0 = GCHandle.Alloc(size, GCHandleType.Pinned); + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveAttribARB(programObj, index, maxLength, length, h0.AddrOfPinnedObject(), type, name); + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + type = (System.IntPtr)h2.Target; } finally { h0.Free(); + h1.Free(); + h2.Free(); } } public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, GLint[] size, Enums.ARB_vertex_shader[] type, [In, Out()] System.Text.StringBuilder name) { - GCHandle h0 = GCHandle.Alloc(size, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(type, GCHandleType.Pinned); - try - { - Delegates.glGetActiveAttribARB(programObj, index, maxLength, length, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), name); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) - { - Delegates.glGetActiveAttribARB(programObj, index, maxLength, length, size, type, name); - } - public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, Enums.ARB_vertex_shader[] type, [In, Out()] System.Text.StringBuilder name) - { - GCHandle h0 = GCHandle.Alloc(type, GCHandleType.Pinned); - try - { - Delegates.glGetActiveAttribARB(programObj, index, maxLength, length, size, h0.AddrOfPinnedObject(), name); - } - finally - { - h0.Free(); - } - } - public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, [In, Out()] System.IntPtr size, Enums.ARB_vertex_shader[] type, [In, Out()] System.Text.StringBuilder name) - { + length = default(System.IntPtr); GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(type, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), size, h1.AddrOfPinnedObject(), name); + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, GLint[] size, out Enums.ARB_vertex_shader type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_vertex_shader); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + type = (Enums.ARB_vertex_shader)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); } } public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); - try - { - Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), size, type, name); - } - finally - { - h0.Free(); - } - } - public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) - { - GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), type, name); + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + type = (System.IntPtr)h2.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, [In, Out()] System.IntPtr size, Enums.ARB_vertex_shader[] type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, out GLint size, out Enums.ARB_vertex_shader type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_vertex_shader); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLint)h1.Target; + type = (Enums.ARB_vertex_shader)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); } } public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, GLint[] size, Enums.ARB_vertex_shader[] type, [In, Out()] System.Text.StringBuilder name) @@ -3785,34 +6180,802 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) - { - Delegates.glGetActiveUniform(program, index, bufSize, length, size, type, name); - } - public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), type, name); + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + type = (System.IntPtr)h2.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); } } - public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, [In, Out()] System.IntPtr size, out Enums.ARB_vertex_shader type, [In, Out()] System.Text.StringBuilder name) { - GCHandle h0 = GCHandle.Alloc(type, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_vertex_shader); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveUniform(program, index, bufSize, length, size, h0.AddrOfPinnedObject(), name); + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + type = (Enums.ARB_vertex_shader)h2.Target; } finally { h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, out GLint size, Enums.ARB_vertex_shader[] type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, out GLint size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLint)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, GLint[] size, out Enums.ARB_vertex_shader type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_vertex_shader); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + type = (Enums.ARB_vertex_shader)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, out GLint size, out Enums.ARB_vertex_shader type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_vertex_shader); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLint)h1.Target; + type = (Enums.ARB_vertex_shader)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, out GLint size, Enums.ARB_vertex_shader[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, out GLint size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLint)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, GLint[] size, out Enums.ARB_vertex_shader type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_vertex_shader); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + type = (Enums.ARB_vertex_shader)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, length, size, type, name); + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, Enums.ARB_vertex_shader[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, out GLint size, out Enums.ARB_vertex_shader type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_vertex_shader); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLint)h1.Target; + type = (Enums.ARB_vertex_shader)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, GLint[] size, Enums.ARB_vertex_shader[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, out Enums.ARB_vertex_shader type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_vertex_shader); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (System.IntPtr)h1.Target; + type = (Enums.ARB_vertex_shader)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, out GLint size, Enums.ARB_vertex_shader[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, out GLint size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLint)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, [In, Out()] System.IntPtr size, out Enums.ARB_vertex_shader type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_vertex_shader); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + type = (Enums.ARB_vertex_shader)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, [In, Out()] System.IntPtr size, Enums.ARB_vertex_shader[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveAttribARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, out GLint size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLint)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, out GLint size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, out GLint size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLint)h1.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, out GLint size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLint)h1.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, out GLint size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, out GLint size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLint)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (System.IntPtr)h1.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + Delegates.glGetActiveUniform(program, index, bufSize, length, size, type, name); + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLint[] size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLint[] size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, [In, Out()] System.IntPtr size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, [In, Out()] System.IntPtr size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, GLint[] size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, GLint[] size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, GLint[] size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + type = (Enums.VERSION_2_0)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); } } public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, GLint[] size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) @@ -3831,106 +6994,98 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), size, type, name); - } - finally - { - h0.Free(); - } - } - public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLint[] size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) - { - GCHandle h0 = GCHandle.Alloc(size, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(type, GCHandleType.Pinned); - try - { - Delegates.glGetActiveUniform(program, index, bufSize, length, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), name); + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + type = (System.IntPtr)h2.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); } } - public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, out GLint size, out Enums.VERSION_2_0 type, [In, Out()] System.Text.StringBuilder name) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(type, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.VERSION_2_0); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), size, h1.AddrOfPinnedObject(), name); + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLint)h1.Target; + type = (Enums.VERSION_2_0)h2.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); } } - public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) - { - GCHandle h0 = GCHandle.Alloc(size, GCHandleType.Pinned); - try - { - Delegates.glGetActiveUniform(program, index, bufSize, length, h0.AddrOfPinnedObject(), type, name); - } - finally - { - h0.Free(); - } - } - public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, out GLint size, Enums.VERSION_2_0[] type, [In, Out()] System.Text.StringBuilder name) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), size, type, name); - } - finally - { - h0.Free(); - } - } - public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, GLint[] size, Enums.ARB_shader_objects[] type, [In, Out()] System.Text.StringBuilder name) - { - GCHandle h0 = GCHandle.Alloc(size, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(type, GCHandleType.Pinned); - try - { - Delegates.glGetActiveUniformARB(programObj, index, maxLength, length, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), name); + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLint)h1.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); } } - public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, Enums.ARB_shader_objects[] type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, out GLint size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) { - GCHandle h0 = GCHandle.Alloc(type, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveUniformARB(programObj, index, maxLength, length, size, h0.AddrOfPinnedObject(), name); + Delegates.glGetActiveUniform(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLint)h1.Target; + type = (System.IntPtr)h2.Target; } finally { h0.Free(); + h1.Free(); + h2.Free(); } } - public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) { - GCHandle h0 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveUniformARB(programObj, index, maxLength, length, h0.AddrOfPinnedObject(), type, name); + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + type = (System.IntPtr)h2.Target; } finally { h0.Free(); + h1.Free(); + h2.Free(); } } public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, GLint[] size, Enums.ARB_shader_objects[] type, [In, Out()] System.Text.StringBuilder name) @@ -3949,81 +7104,1001 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, GLint[] size, out Enums.ARB_shader_objects type, [In, Out()] System.Text.StringBuilder name) { - Delegates.glGetActiveUniformARB(programObj, index, maxLength, length, size, type, name); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_shader_objects); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + type = (Enums.ARB_shader_objects)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } } public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, [In, Out()] System.IntPtr size, Enums.ARB_shader_objects[] type, [In, Out()] System.Text.StringBuilder name) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(type, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), size, h1.AddrOfPinnedObject(), name); + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); } } - public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, [In, Out()] System.IntPtr size, out Enums.ARB_shader_objects type, [In, Out()] System.Text.StringBuilder name) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_shader_objects); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), type, name); + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + type = (Enums.ARB_shader_objects)h2.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); } } - public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLsizei[] size, Enums.NV_transform_feedback[] type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, out GLint size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) { - GCHandle h0 = GCHandle.Alloc(size, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(type, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveVaryingNV(program, index, bufSize, length, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), name); + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLint)h1.Target; + type = (System.IntPtr)h2.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, GLint[] size, Enums.ARB_shader_objects[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, GLint[] size, out Enums.ARB_shader_objects type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_shader_objects); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + type = (Enums.ARB_shader_objects)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, length, size, type, name); + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, Enums.ARB_shader_objects[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, out Enums.ARB_shader_objects type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_shader_objects); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (System.IntPtr)h1.Target; + type = (Enums.ARB_shader_objects)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, out GLint size, out Enums.ARB_shader_objects type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_shader_objects); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLint)h1.Target; + type = (Enums.ARB_shader_objects)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, GLint[] size, out Enums.ARB_shader_objects type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_shader_objects); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + type = (Enums.ARB_shader_objects)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, GLint[] size, Enums.ARB_shader_objects[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, GLint[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, out GLint size, out Enums.ARB_shader_objects type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_shader_objects); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLint)h1.Target; + type = (Enums.ARB_shader_objects)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, out GLint size, Enums.ARB_shader_objects[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, out GLint size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLint)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, [In, Out()] System.IntPtr size, out Enums.ARB_shader_objects type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_shader_objects); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + type = (Enums.ARB_shader_objects)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, out GLint size, Enums.ARB_shader_objects[] type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, out GLint size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLint)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, [In, Out()] System.IntPtr length, out GLint size, Enums.ARB_shader_objects[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, [In, Out()] System.IntPtr size, Enums.ARB_shader_objects[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, out GLsizei length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei[] length, out GLint size, out Enums.ARB_shader_objects type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLint); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.ARB_shader_objects); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveUniformARB(programObj, index, maxLength, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLint)h1.Target; + type = (Enums.ARB_shader_objects)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, out GLsizei size, out Enums.GLenum type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.GLenum); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLsizei)h1.Target; + type = (Enums.GLenum)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, out GLsizei size, out Enums.GLenum type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.GLenum); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLsizei)h1.Target; + type = (Enums.GLenum)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, out GLsizei size, Enums.GLenum[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLsizei)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); } } public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, GLsizei[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), type, name); + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + type = (System.IntPtr)h2.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); } } - public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, Enums.NV_transform_feedback[] type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, out Enums.GLenum type, [In, Out()] System.Text.StringBuilder name) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(type, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.GLenum); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); try { - Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), size, h1.AddrOfPinnedObject(), name); + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + type = (Enums.GLenum)h2.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); } } - public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, GLsizei[] size, Enums.NV_transform_feedback[] type, [In, Out()] System.Text.StringBuilder name) + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, Enums.GLenum[] type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, out GLsizei size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (GLsizei)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, out Enums.GLenum type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.GLenum); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (System.IntPtr)h1.Target; + type = (Enums.GLenum)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, Enums.GLenum[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + size = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, length, size, type, name); + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLsizei[] size, out Enums.GLenum type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.GLenum); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + type = (Enums.GLenum)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLsizei[] size, Enums.GLenum[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLsizei[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (System.IntPtr)h0.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, [In, Out()] System.IntPtr size, out Enums.GLenum type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.GLenum); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + type = (Enums.GLenum)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, GLsizei[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, [In, Out()] System.IntPtr size, Enums.GLenum[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, out GLsizei size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLsizei)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, out GLsizei size, Enums.GLenum[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + size = (GLsizei)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, GLsizei[] size, Enums.GLenum[] type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, out GLsizei length, GLsizei[] size, out Enums.GLenum type, [In, Out()] System.Text.StringBuilder name) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.GLenum); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + length = (GLsizei)h0.Target; + type = (Enums.GLenum)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, out GLsizei size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLsizei)h1.Target; + type = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, out GLsizei size, Enums.GLenum[] type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLsizei)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, GLsizei[] size, out Enums.GLenum type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.GLenum); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + type = (Enums.GLenum)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, out GLsizei size, out Enums.GLenum type, [In, Out()] System.Text.StringBuilder name) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + size = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); + type = default(Enums.GLenum); + GCHandle h2 = GCHandle.Alloc(type, GCHandleType.Pinned); + try + { + Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), name); + size = (GLsizei)h1.Target; + type = (Enums.GLenum)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, GLsizei[] size, Enums.GLenum[] type, [In, Out()] System.Text.StringBuilder name) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(size, GCHandleType.Pinned); @@ -4039,46 +8114,6 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, Enums.NV_transform_feedback[] type, [In, Out()] System.Text.StringBuilder name) - { - GCHandle h0 = GCHandle.Alloc(type, GCHandleType.Pinned); - try - { - Delegates.glGetActiveVaryingNV(program, index, bufSize, length, size, h0.AddrOfPinnedObject(), name); - } - finally - { - h0.Free(); - } - } - public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) - { - Delegates.glGetActiveVaryingNV(program, index, bufSize, length, size, type, name); - } - public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, GLsizei[] length, [In, Out()] System.IntPtr size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) - { - GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); - try - { - Delegates.glGetActiveVaryingNV(program, index, bufSize, h0.AddrOfPinnedObject(), size, type, name); - } - finally - { - h0.Free(); - } - } - public static void GetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, [In, Out()] System.IntPtr length, GLsizei[] size, [In, Out()] System.IntPtr type, [In, Out()] System.Text.StringBuilder name) - { - GCHandle h0 = GCHandle.Alloc(size, GCHandleType.Pinned); - try - { - Delegates.glGetActiveVaryingNV(program, index, bufSize, length, h0.AddrOfPinnedObject(), type, name); - } - finally - { - h0.Free(); - } - } public static void GetArrayObjectfvATI(Enums.EnableCap array, Enums.ATI_vertex_array_object pname, [In, Out()] System.IntPtr @params) { Delegates.glGetArrayObjectfvATI(array, pname, @params); @@ -4095,6 +8130,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetArrayObjectfvATI(Enums.EnableCap array, Enums.ATI_vertex_array_object pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetArrayObjectfvATI(array, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetArrayObjectivATI(Enums.EnableCap array, Enums.ATI_vertex_array_object pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetArrayObjectivATI(array, pname, @params); + } public static void GetArrayObjectivATI(Enums.EnableCap array, Enums.ATI_vertex_array_object pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4107,16 +8160,14 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetArrayObjectivATI(Enums.EnableCap array, Enums.ATI_vertex_array_object pname, [In, Out()] System.IntPtr @params) + public static void GetArrayObjectivATI(Enums.EnableCap array, Enums.ATI_vertex_array_object pname, out GLint @params) { - Delegates.glGetArrayObjectivATI(array, pname, @params); - } - public static void GetAttachedObjectsARB(GLhandleARB containerObj, GLsizei maxCount, GLsizei[] count, [In, Out()] System.IntPtr obj) - { - GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetAttachedObjectsARB(containerObj, maxCount, h0.AddrOfPinnedObject(), obj); + Delegates.glGetArrayObjectivATI(array, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; } finally { @@ -4137,32 +8188,142 @@ namespace OpenTK.OpenGL h1.Free(); } } + public static void GetAttachedObjectsARB(GLhandleARB containerObj, GLsizei maxCount, GLsizei[] count, out GLhandleARB obj) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + obj = default(GLhandleARB); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); + try + { + Delegates.glGetAttachedObjectsARB(containerObj, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + obj = (GLhandleARB)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetAttachedObjectsARB(GLhandleARB containerObj, GLsizei maxCount, GLsizei[] count, [In, Out()] System.IntPtr obj) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + obj = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); + try + { + Delegates.glGetAttachedObjectsARB(containerObj, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + obj = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetAttachedObjectsARB(GLhandleARB containerObj, GLsizei maxCount, [In, Out()] System.IntPtr count, GLhandleARB[] obj) + { + count = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); + try + { + Delegates.glGetAttachedObjectsARB(containerObj, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + count = (System.IntPtr)h0.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetAttachedObjectsARB(GLhandleARB containerObj, GLsizei maxCount, [In, Out()] System.IntPtr count, out GLhandleARB obj) + { + count = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + obj = default(GLhandleARB); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); + try + { + Delegates.glGetAttachedObjectsARB(containerObj, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + count = (System.IntPtr)h0.Target; + obj = (GLhandleARB)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetAttachedObjectsARB(GLhandleARB containerObj, GLsizei maxCount, out GLsizei count, [In, Out()] System.IntPtr obj) + { + count = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + obj = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); + try + { + Delegates.glGetAttachedObjectsARB(containerObj, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + count = (GLsizei)h0.Target; + obj = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void GetAttachedObjectsARB(GLhandleARB containerObj, GLsizei maxCount, [In, Out()] System.IntPtr count, [In, Out()] System.IntPtr obj) { Delegates.glGetAttachedObjectsARB(containerObj, maxCount, count, obj); } - public static void GetAttachedObjectsARB(GLhandleARB containerObj, GLsizei maxCount, [In, Out()] System.IntPtr count, GLhandleARB[] obj) + public static void GetAttachedObjectsARB(GLhandleARB containerObj, GLsizei maxCount, out GLsizei count, out GLhandleARB obj) { - GCHandle h0 = GCHandle.Alloc(obj, GCHandleType.Pinned); + count = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + obj = default(GLhandleARB); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); try { - Delegates.glGetAttachedObjectsARB(containerObj, maxCount, count, h0.AddrOfPinnedObject()); + Delegates.glGetAttachedObjectsARB(containerObj, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + count = (GLsizei)h0.Target; + obj = (GLhandleARB)h1.Target; } finally { h0.Free(); + h1.Free(); } } - public static void GetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei[] count, [In, Out()] System.IntPtr obj) + public static void GetAttachedObjectsARB(GLhandleARB containerObj, GLsizei maxCount, out GLsizei count, GLhandleARB[] obj) { + count = default(GLsizei); GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); try { - Delegates.glGetAttachedShaders(program, maxCount, h0.AddrOfPinnedObject(), obj); + Delegates.glGetAttachedObjectsARB(containerObj, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + count = (GLsizei)h0.Target; } finally { h0.Free(); + h1.Free(); + } + } + public static void GetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei[] count, out GLuint obj) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + obj = default(GLuint); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); + try + { + Delegates.glGetAttachedShaders(program, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + obj = (GLuint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); } } public static void GetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei[] count, GLuint[] obj) @@ -4179,20 +8340,110 @@ namespace OpenTK.OpenGL h1.Free(); } } + public static void GetAttachedShaders(GLuint program, GLsizei maxCount, out GLsizei count, [In, Out()] System.IntPtr obj) + { + count = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + obj = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); + try + { + Delegates.glGetAttachedShaders(program, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + count = (GLsizei)h0.Target; + obj = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetAttachedShaders(GLuint program, GLsizei maxCount, out GLsizei count, GLuint[] obj) + { + count = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); + try + { + Delegates.glGetAttachedShaders(program, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + count = (GLsizei)h0.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetAttachedShaders(GLuint program, GLsizei maxCount, out GLsizei count, out GLuint obj) + { + count = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + obj = default(GLuint); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); + try + { + Delegates.glGetAttachedShaders(program, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + count = (GLsizei)h0.Target; + obj = (GLuint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei[] count, [In, Out()] System.IntPtr obj) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + obj = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); + try + { + Delegates.glGetAttachedShaders(program, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + obj = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void GetAttachedShaders(GLuint program, GLsizei maxCount, [In, Out()] System.IntPtr count, [In, Out()] System.IntPtr obj) { Delegates.glGetAttachedShaders(program, maxCount, count, obj); } public static void GetAttachedShaders(GLuint program, GLsizei maxCount, [In, Out()] System.IntPtr count, GLuint[] obj) { - GCHandle h0 = GCHandle.Alloc(obj, GCHandleType.Pinned); + count = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); try { - Delegates.glGetAttachedShaders(program, maxCount, count, h0.AddrOfPinnedObject()); + Delegates.glGetAttachedShaders(program, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + count = (System.IntPtr)h0.Target; } finally { h0.Free(); + h1.Free(); + } + } + public static void GetAttachedShaders(GLuint program, GLsizei maxCount, [In, Out()] System.IntPtr count, out GLuint obj) + { + count = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + obj = default(GLuint); + GCHandle h1 = GCHandle.Alloc(obj, GCHandleType.Pinned); + try + { + Delegates.glGetAttachedShaders(program, maxCount, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + count = (System.IntPtr)h0.Target; + obj = (GLuint)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); } } public static GLint GetAttribLocation(GLuint program, string name) @@ -4203,11 +8454,7 @@ namespace OpenTK.OpenGL { return Delegates.glGetAttribLocationARB(programObj, name); } - public static void GetBooleanIndexedvEXT(Enums.EXT_draw_buffers2 target, GLuint index, [In, Out()] System.IntPtr data) - { - Delegates.glGetBooleanIndexedvEXT(target, index, data); - } - public static void GetBooleanIndexedvEXT(Enums.EXT_draw_buffers2 target, GLuint index, Enums.Boolean[] data) + public static void GetBooleanIndexedvEXT(Enums.GLenum target, GLuint index, Enums.Boolean[] data) { GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); try @@ -4219,6 +8466,28 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetBooleanIndexedvEXT(Enums.GLenum target, GLuint index, out Enums.Boolean data) + { + data = default(Enums.Boolean); + GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetBooleanIndexedvEXT(target, index, h0.AddrOfPinnedObject()); + data = (Enums.Boolean)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetBooleanIndexedvEXT(Enums.GLenum target, GLuint index, [In, Out()] System.IntPtr data) + { + Delegates.glGetBooleanIndexedvEXT(target, index, data); + } + public static void GetBooleanv(Enums.GetPName pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetBooleanv(pname, @params); + } public static void GetBooleanv(Enums.GetPName pname, Enums.Boolean[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4231,13 +8500,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetBooleanv(Enums.GetPName pname, [In, Out()] System.IntPtr @params) + public static void GetBooleanv(Enums.GetPName pname, out Enums.Boolean @params) { - Delegates.glGetBooleanv(pname, @params); - } - public static void GetBufferParameteriv(Enums.VERSION_1_5 target, Enums.VERSION_1_5 pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetBufferParameteriv(target, pname, @params); + @params = default(Enums.Boolean); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBooleanv(pname, h0.AddrOfPinnedObject()); + @params = (Enums.Boolean)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetBufferParameteriv(Enums.VERSION_1_5 target, Enums.VERSION_1_5 pname, GLint[] @params) { @@ -4251,6 +8526,28 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetBufferParameteriv(Enums.VERSION_1_5 target, Enums.VERSION_1_5 pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetBufferParameteriv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetBufferParameteriv(Enums.VERSION_1_5 target, Enums.VERSION_1_5 pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetBufferParameteriv(target, pname, @params); + } + public static void GetBufferParameterivARB(Enums.ARB_vertex_buffer_object target, Enums.ARB_vertex_buffer_object pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetBufferParameterivARB(target, pname, @params); + } public static void GetBufferParameterivARB(Enums.ARB_vertex_buffer_object target, Enums.ARB_vertex_buffer_object pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4263,16 +8560,14 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetBufferParameterivARB(Enums.ARB_vertex_buffer_object target, Enums.ARB_vertex_buffer_object pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetBufferParameterivARB(target, pname, @params); - } - public static void GetBufferPointerv(Enums.VERSION_1_5 target, Enums.VERSION_1_5 pname, IntPtr[] @params) + public static void GetBufferParameterivARB(Enums.ARB_vertex_buffer_object target, Enums.ARB_vertex_buffer_object pname, out GLint @params) { + @params = default(GLint); GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetBufferPointerv(target, pname, h0.AddrOfPinnedObject()); + Delegates.glGetBufferParameterivARB(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; } finally { @@ -4283,26 +8578,10 @@ namespace OpenTK.OpenGL { Delegates.glGetBufferPointerv(target, pname, @params); } - public static void GetBufferPointervARB(Enums.ARB_vertex_buffer_object target, Enums.ARB_vertex_buffer_object pname, IntPtr[] @params) - { - GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetBufferPointervARB(target, pname, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } public static void GetBufferPointervARB(Enums.ARB_vertex_buffer_object target, Enums.ARB_vertex_buffer_object pname, [In, Out()] System.IntPtr @params) { Delegates.glGetBufferPointervARB(target, pname, @params); } - public static void GetBufferSubData(Enums.VERSION_1_5 target, GLintptr offset, GLsizeiptr size, [In, Out()] System.IntPtr data) - { - Delegates.glGetBufferSubData(target, offset, size, data); - } public static void GetBufferSubData(Enums.VERSION_1_5 target, GLintptr offset, GLsizeiptr size, object data) { GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); @@ -4315,6 +8594,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetBufferSubData(Enums.VERSION_1_5 target, GLintptr offset, GLsizeiptr size, [In, Out()] System.IntPtr data) + { + Delegates.glGetBufferSubData(target, offset, size, data); + } public static void GetBufferSubDataARB(Enums.ARB_vertex_buffer_object target, GLintptrARB offset, GLsizeiptrARB size, [In, Out()] System.IntPtr data) { Delegates.glGetBufferSubDataARB(target, offset, size, data); @@ -4331,6 +8614,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetClipPlane(Enums.ClipPlaneName plane, [In, Out()] System.IntPtr equation) + { + Delegates.glGetClipPlane(plane, equation); + } + public static void GetClipPlane(Enums.ClipPlaneName plane, out GLdouble equation) + { + equation = default(GLdouble); + GCHandle h0 = GCHandle.Alloc(equation, GCHandleType.Pinned); + try + { + Delegates.glGetClipPlane(plane, h0.AddrOfPinnedObject()); + equation = (GLdouble)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetClipPlane(Enums.ClipPlaneName plane, GLdouble[] equation) { GCHandle h0 = GCHandle.Alloc(equation, GCHandleType.Pinned); @@ -4343,9 +8644,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetClipPlane(Enums.ClipPlaneName plane, [In, Out()] System.IntPtr equation) + public static void GetColorTable(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr table) { - Delegates.glGetClipPlane(plane, equation); + Delegates.glGetColorTable(target, format, type, table); } public static void GetColorTable(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, object table) { @@ -4359,9 +8660,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetColorTable(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr table) + public static void GetColorTableEXT(Enums.EXT_paletted_texture target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr data) { - Delegates.glGetColorTable(target, format, type, table); + Delegates.glGetColorTableEXT(target, format, type, data); } public static void GetColorTableEXT(Enums.EXT_paletted_texture target, Enums.PixelFormat format, Enums.PixelType type, object data) { @@ -4375,10 +8676,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetColorTableEXT(Enums.EXT_paletted_texture target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr data) - { - Delegates.glGetColorTableEXT(target, format, type, data); - } public static void GetColorTableParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, [In, Out()] System.IntPtr @params) { Delegates.glGetColorTableParameterfv(target, pname, @params); @@ -4395,6 +8692,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetColorTableParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableParameterfv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetColorTableParameterfvEXT(Enums.EXT_paletted_texture target, Enums.EXT_paletted_texture pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4407,6 +8718,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetColorTableParameterfvEXT(Enums.EXT_paletted_texture target, Enums.EXT_paletted_texture pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableParameterfvEXT(target, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetColorTableParameterfvEXT(Enums.EXT_paletted_texture target, Enums.EXT_paletted_texture pname, [In, Out()] System.IntPtr @params) { Delegates.glGetColorTableParameterfvEXT(target, pname, @params); @@ -4427,9 +8752,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetColorTableParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, [In, Out()] System.IntPtr @params) + public static void GetColorTableParameterfvSGI(Enums.ColorTableTargetSGI target, Enums.GetColorTableParameterPNameSGI pname, out GLfloat @params) { - Delegates.glGetColorTableParameteriv(target, pname, @params); + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableParameterfvSGI(target, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetColorTableParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, GLint[] @params) { @@ -4443,9 +8778,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetColorTableParameterivEXT(Enums.EXT_paletted_texture target, Enums.EXT_paletted_texture pname, [In, Out()] System.IntPtr @params) + public static void GetColorTableParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, [In, Out()] System.IntPtr @params) { - Delegates.glGetColorTableParameterivEXT(target, pname, @params); + Delegates.glGetColorTableParameteriv(target, pname, @params); + } + public static void GetColorTableParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableParameteriv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetColorTableParameterivEXT(Enums.EXT_paletted_texture target, Enums.EXT_paletted_texture pname, GLint[] @params) { @@ -4459,6 +8808,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetColorTableParameterivEXT(Enums.EXT_paletted_texture target, Enums.EXT_paletted_texture pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableParameterivEXT(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetColorTableParameterivEXT(Enums.EXT_paletted_texture target, Enums.EXT_paletted_texture pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetColorTableParameterivEXT(target, pname, @params); + } public static void GetColorTableParameterivSGI(Enums.ColorTableTargetSGI target, Enums.GetColorTableParameterPNameSGI pname, [In, Out()] System.IntPtr @params) { Delegates.glGetColorTableParameterivSGI(target, pname, @params); @@ -4475,9 +8842,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetColorTableSGI(Enums.ColorTableTargetSGI target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr table) + public static void GetColorTableParameterivSGI(Enums.ColorTableTargetSGI target, Enums.GetColorTableParameterPNameSGI pname, out GLint @params) { - Delegates.glGetColorTableSGI(target, format, type, table); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetColorTableParameterivSGI(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetColorTableSGI(Enums.ColorTableTargetSGI target, Enums.PixelFormat format, Enums.PixelType type, object table) { @@ -4491,6 +8868,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetColorTableSGI(Enums.ColorTableTargetSGI target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr table) + { + Delegates.glGetColorTableSGI(target, format, type, table); + } public static void GetCombinerInputParameterfvNV(Enums.NV_register_combiners stage, Enums.NV_register_combiners portion, Enums.NV_register_combiners variable, Enums.NV_register_combiners pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4503,14 +8884,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetCombinerInputParameterfvNV(Enums.NV_register_combiners stage, Enums.NV_register_combiners portion, Enums.NV_register_combiners variable, Enums.NV_register_combiners pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetCombinerInputParameterfvNV(stage, portion, variable, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetCombinerInputParameterfvNV(Enums.NV_register_combiners stage, Enums.NV_register_combiners portion, Enums.NV_register_combiners variable, Enums.NV_register_combiners pname, [In, Out()] System.IntPtr @params) { Delegates.glGetCombinerInputParameterfvNV(stage, portion, variable, pname, @params); } - public static void GetCombinerInputParameterivNV(Enums.NV_register_combiners stage, Enums.NV_register_combiners portion, Enums.NV_register_combiners variable, Enums.NV_register_combiners pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetCombinerInputParameterivNV(stage, portion, variable, pname, @params); - } public static void GetCombinerInputParameterivNV(Enums.NV_register_combiners stage, Enums.NV_register_combiners portion, Enums.NV_register_combiners variable, Enums.NV_register_combiners pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4523,9 +8914,37 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetCombinerOutputParameterfvNV(Enums.NV_register_combiners stage, Enums.NV_register_combiners portion, Enums.NV_register_combiners pname, [In, Out()] System.IntPtr @params) + public static void GetCombinerInputParameterivNV(Enums.NV_register_combiners stage, Enums.NV_register_combiners portion, Enums.NV_register_combiners variable, Enums.NV_register_combiners pname, out GLint @params) { - Delegates.glGetCombinerOutputParameterfvNV(stage, portion, pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetCombinerInputParameterivNV(stage, portion, variable, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetCombinerInputParameterivNV(Enums.NV_register_combiners stage, Enums.NV_register_combiners portion, Enums.NV_register_combiners variable, Enums.NV_register_combiners pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetCombinerInputParameterivNV(stage, portion, variable, pname, @params); + } + public static void GetCombinerOutputParameterfvNV(Enums.NV_register_combiners stage, Enums.NV_register_combiners portion, Enums.NV_register_combiners pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetCombinerOutputParameterfvNV(stage, portion, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetCombinerOutputParameterfvNV(Enums.NV_register_combiners stage, Enums.NV_register_combiners portion, Enums.NV_register_combiners pname, GLfloat[] @params) { @@ -4539,6 +8958,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetCombinerOutputParameterfvNV(Enums.NV_register_combiners stage, Enums.NV_register_combiners portion, Enums.NV_register_combiners pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetCombinerOutputParameterfvNV(stage, portion, pname, @params); + } + public static void GetCombinerOutputParameterivNV(Enums.NV_register_combiners stage, Enums.NV_register_combiners portion, Enums.NV_register_combiners pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetCombinerOutputParameterivNV(stage, portion, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetCombinerOutputParameterivNV(Enums.NV_register_combiners stage, Enums.NV_register_combiners portion, Enums.NV_register_combiners pname, [In, Out()] System.IntPtr @params) { Delegates.glGetCombinerOutputParameterivNV(stage, portion, pname, @params); @@ -4567,14 +9004,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetCombinerStageParameterfvNV(Enums.NV_register_combiners2 stage, Enums.NV_register_combiners2 pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetCombinerStageParameterfvNV(stage, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetCombinerStageParameterfvNV(Enums.NV_register_combiners2 stage, Enums.NV_register_combiners2 pname, [In, Out()] System.IntPtr @params) { Delegates.glGetCombinerStageParameterfvNV(stage, pname, @params); } - public static void GetCompressedTexImage(Enums.TextureTarget target, GLint level, [In, Out()] System.IntPtr img) - { - Delegates.glGetCompressedTexImage(target, level, img); - } public static void GetCompressedTexImage(Enums.TextureTarget target, GLint level, object img) { GCHandle h0 = GCHandle.Alloc(img, GCHandleType.Pinned); @@ -4587,6 +9034,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetCompressedTexImage(Enums.TextureTarget target, GLint level, [In, Out()] System.IntPtr img) + { + Delegates.glGetCompressedTexImage(target, level, img); + } public static void GetCompressedTexImageARB(Enums.TextureTarget target, GLint level, [In, Out()] System.IntPtr img) { Delegates.glGetCompressedTexImageARB(target, level, img); @@ -4619,10 +9070,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetConvolutionFilterEXT(Enums.ConvolutionTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr image) - { - Delegates.glGetConvolutionFilterEXT(target, format, type, image); - } public static void GetConvolutionFilterEXT(Enums.ConvolutionTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, object image) { GCHandle h0 = GCHandle.Alloc(image, GCHandleType.Pinned); @@ -4635,9 +9082,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetConvolutionParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, [In, Out()] System.IntPtr @params) + public static void GetConvolutionFilterEXT(Enums.ConvolutionTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr image) { - Delegates.glGetConvolutionParameterfv(target, pname, @params); + Delegates.glGetConvolutionFilterEXT(target, format, type, image); } public static void GetConvolutionParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, GLfloat[] @params) { @@ -4651,6 +9098,42 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetConvolutionParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionParameterfv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetConvolutionParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetConvolutionParameterfv(target, pname, @params); + } + public static void GetConvolutionParameterfvEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetConvolutionParameterfvEXT(target, pname, @params); + } + public static void GetConvolutionParameterfvEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionParameterfvEXT(target, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetConvolutionParameterfvEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4663,9 +9146,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetConvolutionParameterfvEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, [In, Out()] System.IntPtr @params) + public static void GetConvolutionParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, out GLint @params) { - Delegates.glGetConvolutionParameterfvEXT(target, pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionParameteriv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetConvolutionParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetConvolutionParameteriv(target, pname, @params); } public static void GetConvolutionParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, GLint[] @params) { @@ -4679,14 +9176,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetConvolutionParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetConvolutionParameteriv(target, pname, @params); - } - public static void GetConvolutionParameterivEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetConvolutionParameterivEXT(target, pname, @params); - } public static void GetConvolutionParameterivEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4699,9 +9188,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetDetailTexFuncSGIS(Enums.TextureTarget target, [In, Out()] System.IntPtr points) + public static void GetConvolutionParameterivEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, [In, Out()] System.IntPtr @params) { - Delegates.glGetDetailTexFuncSGIS(target, points); + Delegates.glGetConvolutionParameterivEXT(target, pname, @params); + } + public static void GetConvolutionParameterivEXT(Enums.ConvolutionTargetEXT target, Enums.ConvolutionParameterEXT pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetConvolutionParameterivEXT(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetDetailTexFuncSGIS(Enums.TextureTarget target, GLfloat[] points) { @@ -4715,9 +9218,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetDoublev(Enums.GetPName pname, [In, Out()] System.IntPtr @params) + public static void GetDetailTexFuncSGIS(Enums.TextureTarget target, out GLfloat points) { - Delegates.glGetDoublev(pname, @params); + points = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetDetailTexFuncSGIS(target, h0.AddrOfPinnedObject()); + points = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetDetailTexFuncSGIS(Enums.TextureTarget target, [In, Out()] System.IntPtr points) + { + Delegates.glGetDetailTexFuncSGIS(target, points); } public static void GetDoublev(Enums.GetPName pname, GLdouble[] @params) { @@ -4731,10 +9248,42 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static GLenum GetError() + public static void GetDoublev(Enums.GetPName pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetDoublev(pname, @params); + } + public static void GetDoublev(Enums.GetPName pname, out GLdouble @params) + { + @params = default(GLdouble); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetDoublev(pname, h0.AddrOfPinnedObject()); + @params = (GLdouble)h0.Target; + } + finally + { + h0.Free(); + } + } + public static Enums.GLenum GetError() { return Delegates.glGetError(); } + public static void GetFenceivNV(GLuint fence, Enums.NV_fence pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetFenceivNV(fence, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetFenceivNV(GLuint fence, Enums.NV_fence pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4751,6 +9300,20 @@ namespace OpenTK.OpenGL { Delegates.glGetFenceivNV(fence, pname, @params); } + public static void GetFinalCombinerInputParameterfvNV(Enums.NV_register_combiners variable, Enums.NV_register_combiners pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetFinalCombinerInputParameterfvNV(variable, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetFinalCombinerInputParameterfvNV(Enums.NV_register_combiners variable, Enums.NV_register_combiners pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4767,6 +9330,10 @@ namespace OpenTK.OpenGL { Delegates.glGetFinalCombinerInputParameterfvNV(variable, pname, @params); } + public static void GetFinalCombinerInputParameterivNV(Enums.NV_register_combiners variable, Enums.NV_register_combiners pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetFinalCombinerInputParameterivNV(variable, pname, @params); + } public static void GetFinalCombinerInputParameterivNV(Enums.NV_register_combiners variable, Enums.NV_register_combiners pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4779,9 +9346,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetFinalCombinerInputParameterivNV(Enums.NV_register_combiners variable, Enums.NV_register_combiners pname, [In, Out()] System.IntPtr @params) + public static void GetFinalCombinerInputParameterivNV(Enums.NV_register_combiners variable, Enums.NV_register_combiners pname, out GLint @params) { - Delegates.glGetFinalCombinerInputParameterivNV(variable, pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetFinalCombinerInputParameterivNV(variable, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetFloatv(Enums.GetPName pname, [In, Out()] System.IntPtr @params) { @@ -4799,6 +9376,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetFloatv(Enums.GetPName pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetFloatv(pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetFogFuncSGIS(GLfloat[] points) { GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); @@ -4811,6 +9402,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetFogFuncSGIS(out GLfloat points) + { + points = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetFogFuncSGIS(h0.AddrOfPinnedObject()); + points = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetFogFuncSGIS([In, Out()] System.IntPtr points) { Delegates.glGetFogFuncSGIS(points); @@ -4819,6 +9424,20 @@ namespace OpenTK.OpenGL { return Delegates.glGetFragDataLocationEXT(program, name); } + public static void GetFragmentLightfvSGIX(Enums.SGIX_fragment_lighting light, Enums.SGIX_fragment_lighting pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetFragmentLightfvSGIX(light, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetFragmentLightfvSGIX(Enums.SGIX_fragment_lighting light, Enums.SGIX_fragment_lighting pname, [In, Out()] System.IntPtr @params) { Delegates.glGetFragmentLightfvSGIX(light, pname, @params); @@ -4851,6 +9470,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetFragmentLightivSGIX(Enums.SGIX_fragment_lighting light, Enums.SGIX_fragment_lighting pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetFragmentLightivSGIX(light, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetFragmentMaterialfvSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetFragmentMaterialfvSGIX(face, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetFragmentMaterialfvSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4867,10 +9514,6 @@ namespace OpenTK.OpenGL { Delegates.glGetFragmentMaterialfvSGIX(face, pname, @params); } - public static void GetFragmentMaterialivSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetFragmentMaterialivSGIX(face, pname, @params); - } public static void GetFragmentMaterialivSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4883,11 +9526,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetFramebufferAttachmentParameterivEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.EXT_framebuffer_object pname, [In, Out()] System.IntPtr @params) + public static void GetFragmentMaterialivSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetFragmentMaterialivSGIX(face, pname, @params); + } + public static void GetFragmentMaterialivSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetFragmentMaterialivSGIX(face, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetFramebufferAttachmentParameterivEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.GLenum pname, [In, Out()] System.IntPtr @params) { Delegates.glGetFramebufferAttachmentParameterivEXT(target, attachment, pname, @params); } - public static void GetFramebufferAttachmentParameterivEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.EXT_framebuffer_object pname, GLint[] @params) + public static void GetFramebufferAttachmentParameterivEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.GLenum pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -4899,6 +9560,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetFramebufferAttachmentParameterivEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.GLenum pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetFramebufferAttachmentParameterivEXT(target, attachment, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static GLhandleARB GetHandleARB(Enums.ARB_shader_objects pname) { return Delegates.glGetHandleARB(pname); @@ -4951,10 +9626,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetHistogramParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramParameterfv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetHistogramParameterfvEXT(Enums.HistogramTargetEXT target, Enums.GetHistogramParameterPNameEXT pname, [In, Out()] System.IntPtr @params) { Delegates.glGetHistogramParameterfvEXT(target, pname, @params); } + public static void GetHistogramParameterfvEXT(Enums.HistogramTargetEXT target, Enums.GetHistogramParameterPNameEXT pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramParameterfvEXT(target, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetHistogramParameterfvEXT(Enums.HistogramTargetEXT target, Enums.GetHistogramParameterPNameEXT pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4967,6 +9670,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetHistogramParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramParameteriv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetHistogramParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetHistogramParameteriv(target, pname, @params); + } public static void GetHistogramParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -4979,9 +9700,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetHistogramParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, [In, Out()] System.IntPtr @params) + public static void GetHistogramParameterivEXT(Enums.HistogramTargetEXT target, Enums.GetHistogramParameterPNameEXT pname, out GLint @params) { - Delegates.glGetHistogramParameteriv(target, pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetHistogramParameterivEXT(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetHistogramParameterivEXT(Enums.HistogramTargetEXT target, Enums.GetHistogramParameterPNameEXT pname, GLint[] @params) { @@ -4999,6 +9730,20 @@ namespace OpenTK.OpenGL { Delegates.glGetHistogramParameterivEXT(target, pname, @params); } + public static void GetImageTransformParameterfvHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetImageTransformParameterfvHP(target, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetImageTransformParameterfvHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5015,9 +9760,19 @@ namespace OpenTK.OpenGL { Delegates.glGetImageTransformParameterfvHP(target, pname, @params); } - public static void GetImageTransformParameterivHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, [In, Out()] System.IntPtr @params) + public static void GetImageTransformParameterivHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, out GLint @params) { - Delegates.glGetImageTransformParameterivHP(target, pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetImageTransformParameterivHP(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetImageTransformParameterivHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, GLint[] @params) { @@ -5031,6 +9786,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetImageTransformParameterivHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetImageTransformParameterivHP(target, pname, @params); + } public static void GetInfoLogARB(GLhandleARB obj, GLsizei maxLength, GLsizei[] length, [In, Out()] System.Text.StringBuilder infoLog) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); @@ -5043,6 +9802,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetInfoLogARB(GLhandleARB obj, GLsizei maxLength, out GLsizei length, [In, Out()] System.Text.StringBuilder infoLog) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + try + { + Delegates.glGetInfoLogARB(obj, maxLength, h0.AddrOfPinnedObject(), infoLog); + length = (GLsizei)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetInfoLogARB(GLhandleARB obj, GLsizei maxLength, [In, Out()] System.IntPtr length, [In, Out()] System.Text.StringBuilder infoLog) { Delegates.glGetInfoLogARB(obj, maxLength, length, infoLog); @@ -5051,11 +9824,11 @@ namespace OpenTK.OpenGL { return Delegates.glGetInstrumentsSGIX(); } - public static void GetIntegerIndexedvEXT(Enums.EXT_draw_buffers2 target, GLuint index, [In, Out()] System.IntPtr data) + public static void GetIntegerIndexedvEXT(Enums.GLenum target, GLuint index, [In, Out()] System.IntPtr data) { Delegates.glGetIntegerIndexedvEXT(target, index, data); } - public static void GetIntegerIndexedvEXT(Enums.EXT_draw_buffers2 target, GLuint index, GLint[] data) + public static void GetIntegerIndexedvEXT(Enums.GLenum target, GLuint index, GLint[] data) { GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); try @@ -5067,6 +9840,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetIntegerIndexedvEXT(Enums.GLenum target, GLuint index, out GLint data) + { + data = default(GLint); + GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetIntegerIndexedvEXT(target, index, h0.AddrOfPinnedObject()); + data = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetIntegerv(Enums.GetPName pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetIntegerv(pname, @params); + } public static void GetIntegerv(Enums.GetPName pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5079,9 +9870,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetIntegerv(Enums.GetPName pname, [In, Out()] System.IntPtr @params) + public static void GetIntegerv(Enums.GetPName pname, out GLint @params) { - Delegates.glGetIntegerv(pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetIntegerv(pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetInvariantBooleanvEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) + { + Delegates.glGetInvariantBooleanvEXT(id, value, data); } public static void GetInvariantBooleanvEXT(GLuint id, Enums.EXT_vertex_shader value, Enums.Boolean[] data) { @@ -5095,9 +9900,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetInvariantBooleanvEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) + public static void GetInvariantBooleanvEXT(GLuint id, Enums.EXT_vertex_shader value, out Enums.Boolean data) { - Delegates.glGetInvariantBooleanvEXT(id, value, data); + data = default(Enums.Boolean); + GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetInvariantBooleanvEXT(id, value, h0.AddrOfPinnedObject()); + data = (Enums.Boolean)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetInvariantFloatvEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) + { + Delegates.glGetInvariantFloatvEXT(id, value, data); } public static void GetInvariantFloatvEXT(GLuint id, Enums.EXT_vertex_shader value, GLfloat[] data) { @@ -5111,9 +9930,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetInvariantFloatvEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) + public static void GetInvariantFloatvEXT(GLuint id, Enums.EXT_vertex_shader value, out GLfloat data) { - Delegates.glGetInvariantFloatvEXT(id, value, data); + data = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetInvariantFloatvEXT(id, value, h0.AddrOfPinnedObject()); + data = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetInvariantIntegervEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) + { + Delegates.glGetInvariantIntegervEXT(id, value, data); } public static void GetInvariantIntegervEXT(GLuint id, Enums.EXT_vertex_shader value, GLint[] data) { @@ -5127,9 +9960,33 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetInvariantIntegervEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) + public static void GetInvariantIntegervEXT(GLuint id, Enums.EXT_vertex_shader value, out GLint data) { - Delegates.glGetInvariantIntegervEXT(id, value, data); + data = default(GLint); + GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetInvariantIntegervEXT(id, value, h0.AddrOfPinnedObject()); + data = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetLightfv(Enums.LightName light, Enums.LightParameter pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetLightfv(light, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetLightfv(Enums.LightName light, Enums.LightParameter pname, GLfloat[] @params) { @@ -5147,6 +10004,20 @@ namespace OpenTK.OpenGL { Delegates.glGetLightfv(light, pname, @params); } + public static void GetLightiv(Enums.LightName light, Enums.LightParameter pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetLightiv(light, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetLightiv(Enums.LightName light, Enums.LightParameter pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5179,9 +10050,33 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetListParameterivSGIX(GLuint list, Enums.ListParameterName pname, [In, Out()] System.IntPtr @params) + public static void GetListParameterfvSGIX(GLuint list, Enums.ListParameterName pname, out GLfloat @params) { - Delegates.glGetListParameterivSGIX(list, pname, @params); + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetListParameterfvSGIX(list, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetListParameterivSGIX(GLuint list, Enums.ListParameterName pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetListParameterivSGIX(list, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetListParameterivSGIX(GLuint list, Enums.ListParameterName pname, GLint[] @params) { @@ -5195,6 +10090,28 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetListParameterivSGIX(GLuint list, Enums.ListParameterName pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetListParameterivSGIX(list, pname, @params); + } + public static void GetLocalConstantBooleanvEXT(GLuint id, Enums.EXT_vertex_shader value, out Enums.Boolean data) + { + data = default(Enums.Boolean); + GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetLocalConstantBooleanvEXT(id, value, h0.AddrOfPinnedObject()); + data = (Enums.Boolean)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetLocalConstantBooleanvEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) + { + Delegates.glGetLocalConstantBooleanvEXT(id, value, data); + } public static void GetLocalConstantBooleanvEXT(GLuint id, Enums.EXT_vertex_shader value, Enums.Boolean[] data) { GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); @@ -5207,9 +10124,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetLocalConstantBooleanvEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) + public static void GetLocalConstantFloatvEXT(GLuint id, Enums.EXT_vertex_shader value, out GLfloat data) { - Delegates.glGetLocalConstantBooleanvEXT(id, value, data); + data = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetLocalConstantFloatvEXT(id, value, h0.AddrOfPinnedObject()); + data = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetLocalConstantFloatvEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) + { + Delegates.glGetLocalConstantFloatvEXT(id, value, data); } public static void GetLocalConstantFloatvEXT(GLuint id, Enums.EXT_vertex_shader value, GLfloat[] data) { @@ -5223,9 +10154,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetLocalConstantFloatvEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) + public static void GetLocalConstantIntegervEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) { - Delegates.glGetLocalConstantFloatvEXT(id, value, data); + Delegates.glGetLocalConstantIntegervEXT(id, value, data); } public static void GetLocalConstantIntegervEXT(GLuint id, Enums.EXT_vertex_shader value, GLint[] data) { @@ -5239,9 +10170,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetLocalConstantIntegervEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) + public static void GetLocalConstantIntegervEXT(GLuint id, Enums.EXT_vertex_shader value, out GLint data) { - Delegates.glGetLocalConstantIntegervEXT(id, value, data); + data = default(GLint); + GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetLocalConstantIntegervEXT(id, value, h0.AddrOfPinnedObject()); + data = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetMapAttribParameterfvNV(Enums.NV_evaluators target, GLuint index, Enums.NV_evaluators pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetMapAttribParameterfvNV(target, index, pname, @params); } public static void GetMapAttribParameterfvNV(Enums.NV_evaluators target, GLuint index, Enums.NV_evaluators pname, GLfloat[] @params) { @@ -5255,13 +10200,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetMapAttribParameterfvNV(Enums.NV_evaluators target, GLuint index, Enums.NV_evaluators pname, [In, Out()] System.IntPtr @params) + public static void GetMapAttribParameterfvNV(Enums.NV_evaluators target, GLuint index, Enums.NV_evaluators pname, out GLfloat @params) { - Delegates.glGetMapAttribParameterfvNV(target, index, pname, @params); - } - public static void GetMapAttribParameterivNV(Enums.NV_evaluators target, GLuint index, Enums.NV_evaluators pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetMapAttribParameterivNV(target, index, pname, @params); + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetMapAttribParameterfvNV(target, index, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetMapAttribParameterivNV(Enums.NV_evaluators target, GLuint index, Enums.NV_evaluators pname, GLint[] @params) { @@ -5275,6 +10226,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetMapAttribParameterivNV(Enums.NV_evaluators target, GLuint index, Enums.NV_evaluators pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetMapAttribParameterivNV(target, index, pname, @params); + } + public static void GetMapAttribParameterivNV(Enums.NV_evaluators target, GLuint index, Enums.NV_evaluators pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetMapAttribParameterivNV(target, index, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetMapControlPointsNV(Enums.NV_evaluators target, GLuint index, Enums.NV_evaluators type, GLsizei ustride, GLsizei vstride, [MarshalAs(UnmanagedType.Bool)] bool packed, [In, Out()] System.IntPtr points) { Delegates.glGetMapControlPointsNV(target, index, type, ustride, vstride, packed, points); @@ -5291,6 +10260,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetMapdv(Enums.MapTarget target, Enums.GetMapQuery query, out GLdouble v) + { + v = default(GLdouble); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glGetMapdv(target, query, h0.AddrOfPinnedObject()); + v = (GLdouble)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetMapdv(Enums.MapTarget target, Enums.GetMapQuery query, [In, Out()] System.IntPtr v) { Delegates.glGetMapdv(target, query, v); @@ -5323,9 +10306,19 @@ namespace OpenTK.OpenGL { Delegates.glGetMapfv(target, query, v); } - public static void GetMapiv(Enums.MapTarget target, Enums.GetMapQuery query, [In, Out()] System.IntPtr v) + public static void GetMapfv(Enums.MapTarget target, Enums.GetMapQuery query, out GLfloat v) { - Delegates.glGetMapiv(target, query, v); + v = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glGetMapfv(target, query, h0.AddrOfPinnedObject()); + v = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetMapiv(Enums.MapTarget target, Enums.GetMapQuery query, GLint[] v) { @@ -5339,6 +10332,42 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetMapiv(Enums.MapTarget target, Enums.GetMapQuery query, out GLint v) + { + v = default(GLint); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glGetMapiv(target, query, h0.AddrOfPinnedObject()); + v = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetMapiv(Enums.MapTarget target, Enums.GetMapQuery query, [In, Out()] System.IntPtr v) + { + Delegates.glGetMapiv(target, query, v); + } + public static void GetMapParameterfvNV(Enums.NV_evaluators target, Enums.NV_evaluators pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetMapParameterfvNV(target, pname, @params); + } + public static void GetMapParameterfvNV(Enums.NV_evaluators target, Enums.NV_evaluators pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetMapParameterfvNV(target, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetMapParameterfvNV(Enums.NV_evaluators target, Enums.NV_evaluators pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5351,13 +10380,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetMapParameterfvNV(Enums.NV_evaluators target, Enums.NV_evaluators pname, [In, Out()] System.IntPtr @params) + public static void GetMapParameterivNV(Enums.NV_evaluators target, Enums.NV_evaluators pname, out GLint @params) { - Delegates.glGetMapParameterfvNV(target, pname, @params); - } - public static void GetMapParameterivNV(Enums.NV_evaluators target, Enums.NV_evaluators pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetMapParameterivNV(target, pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetMapParameterivNV(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetMapParameterivNV(Enums.NV_evaluators target, Enums.NV_evaluators pname, GLint[] @params) { @@ -5371,6 +10406,28 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetMapParameterivNV(Enums.NV_evaluators target, Enums.NV_evaluators pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetMapParameterivNV(target, pname, @params); + } + public static void GetMaterialfv(Enums.MaterialFace face, Enums.MaterialParameter pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetMaterialfv(face, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetMaterialfv(Enums.MaterialFace face, Enums.MaterialParameter pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetMaterialfv(face, pname, @params); + } public static void GetMaterialfv(Enums.MaterialFace face, Enums.MaterialParameter pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5383,9 +10440,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetMaterialfv(Enums.MaterialFace face, Enums.MaterialParameter pname, [In, Out()] System.IntPtr @params) + public static void GetMaterialiv(Enums.MaterialFace face, Enums.MaterialParameter pname, out GLint @params) { - Delegates.glGetMaterialfv(face, pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetMaterialiv(face, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetMaterialiv(Enums.MaterialFace face, Enums.MaterialParameter pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetMaterialiv(face, pname, @params); } public static void GetMaterialiv(Enums.MaterialFace face, Enums.MaterialParameter pname, GLint[] @params) { @@ -5399,9 +10470,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetMaterialiv(Enums.MaterialFace face, Enums.MaterialParameter pname, [In, Out()] System.IntPtr @params) + public static void GetMinmax(Enums.VERSION_1_2 target, [MarshalAs(UnmanagedType.Bool)] bool reset, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr values) { - Delegates.glGetMaterialiv(face, pname, @params); + Delegates.glGetMinmax(target, reset, format, type, values); } public static void GetMinmax(Enums.VERSION_1_2 target, [MarshalAs(UnmanagedType.Bool)] bool reset, Enums.PixelFormat format, Enums.PixelType type, object values) { @@ -5415,9 +10486,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetMinmax(Enums.VERSION_1_2 target, [MarshalAs(UnmanagedType.Bool)] bool reset, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr values) + public static void GetMinmaxEXT(Enums.MinmaxTargetEXT target, [MarshalAs(UnmanagedType.Bool)] bool reset, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr values) { - Delegates.glGetMinmax(target, reset, format, type, values); + Delegates.glGetMinmaxEXT(target, reset, format, type, values); } public static void GetMinmaxEXT(Enums.MinmaxTargetEXT target, [MarshalAs(UnmanagedType.Bool)] bool reset, Enums.PixelFormat format, Enums.PixelType type, object values) { @@ -5431,13 +10502,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetMinmaxEXT(Enums.MinmaxTargetEXT target, [MarshalAs(UnmanagedType.Bool)] bool reset, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr values) + public static void GetMinmaxParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, out GLfloat @params) { - Delegates.glGetMinmaxEXT(target, reset, format, type, values); - } - public static void GetMinmaxParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetMinmaxParameterfv(target, pname, @params); + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxParameterfv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetMinmaxParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, GLfloat[] @params) { @@ -5451,9 +10528,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetMinmaxParameterfvEXT(Enums.MinmaxTargetEXT target, Enums.GetMinmaxParameterPNameEXT pname, [In, Out()] System.IntPtr @params) + public static void GetMinmaxParameterfv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, [In, Out()] System.IntPtr @params) { - Delegates.glGetMinmaxParameterfvEXT(target, pname, @params); + Delegates.glGetMinmaxParameterfv(target, pname, @params); } public static void GetMinmaxParameterfvEXT(Enums.MinmaxTargetEXT target, Enums.GetMinmaxParameterPNameEXT pname, GLfloat[] @params) { @@ -5467,6 +10544,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetMinmaxParameterfvEXT(Enums.MinmaxTargetEXT target, Enums.GetMinmaxParameterPNameEXT pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxParameterfvEXT(target, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetMinmaxParameterfvEXT(Enums.MinmaxTargetEXT target, Enums.GetMinmaxParameterPNameEXT pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetMinmaxParameterfvEXT(target, pname, @params); + } + public static void GetMinmaxParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxParameteriv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetMinmaxParameteriv(Enums.VERSION_1_2 target, Enums.VERSION_1_2 pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5483,10 +10592,6 @@ namespace OpenTK.OpenGL { Delegates.glGetMinmaxParameteriv(target, pname, @params); } - public static void GetMinmaxParameterivEXT(Enums.MinmaxTargetEXT target, Enums.GetMinmaxParameterPNameEXT pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetMinmaxParameterivEXT(target, pname, @params); - } public static void GetMinmaxParameterivEXT(Enums.MinmaxTargetEXT target, Enums.GetMinmaxParameterPNameEXT pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5499,6 +10604,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetMinmaxParameterivEXT(Enums.MinmaxTargetEXT target, Enums.GetMinmaxParameterPNameEXT pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetMinmaxParameterivEXT(target, pname, @params); + } + public static void GetMinmaxParameterivEXT(Enums.MinmaxTargetEXT target, Enums.GetMinmaxParameterPNameEXT pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetMinmaxParameterivEXT(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetObjectBufferfvATI(GLuint buffer, Enums.ATI_vertex_array_object pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetObjectBufferfvATI(buffer, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetObjectBufferfvATI(GLuint buffer, Enums.ATI_vertex_array_object pname, [In, Out()] System.IntPtr @params) { Delegates.glGetObjectBufferfvATI(buffer, pname, @params); @@ -5515,10 +10652,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetObjectBufferivATI(GLuint buffer, Enums.ATI_vertex_array_object pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetObjectBufferivATI(buffer, pname, @params); - } public static void GetObjectBufferivATI(GLuint buffer, Enums.ATI_vertex_array_object pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5531,6 +10664,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetObjectBufferivATI(GLuint buffer, Enums.ATI_vertex_array_object pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetObjectBufferivATI(buffer, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetObjectBufferivATI(GLuint buffer, Enums.ATI_vertex_array_object pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetObjectBufferivATI(buffer, pname, @params); + } + public static void GetObjectParameterfvARB(GLhandleARB obj, Enums.ARB_shader_objects pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetObjectParameterfvARB(obj, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetObjectParameterfvARB(GLhandleARB obj, Enums.ARB_shader_objects pname, [In, Out()] System.IntPtr @params) { Delegates.glGetObjectParameterfvARB(obj, pname, @params); @@ -5563,6 +10728,34 @@ namespace OpenTK.OpenGL { Delegates.glGetObjectParameterivARB(obj, pname, @params); } + public static void GetObjectParameterivARB(GLhandleARB obj, Enums.ARB_shader_objects pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetObjectParameterivARB(obj, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetOcclusionQueryivNV(GLuint id, Enums.NV_occlusion_query pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetOcclusionQueryivNV(id, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetOcclusionQueryivNV(GLuint id, Enums.NV_occlusion_query pname, [In, Out()] System.IntPtr @params) { Delegates.glGetOcclusionQueryivNV(id, pname, @params); @@ -5591,10 +10784,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetOcclusionQueryuivNV(GLuint id, Enums.NV_occlusion_query pname, out GLuint @params) + { + @params = default(GLuint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetOcclusionQueryuivNV(id, pname, h0.AddrOfPinnedObject()); + @params = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetOcclusionQueryuivNV(GLuint id, Enums.NV_occlusion_query pname, [In, Out()] System.IntPtr @params) { Delegates.glGetOcclusionQueryuivNV(id, pname, @params); } + public static void GetPixelMapfv(Enums.PixelMap map, out GLfloat values) + { + values = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetPixelMapfv(map, h0.AddrOfPinnedObject()); + values = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetPixelMapfv(Enums.PixelMap map, GLfloat[] values) { GCHandle h0 = GCHandle.Alloc(values, GCHandleType.Pinned); @@ -5611,6 +10832,24 @@ namespace OpenTK.OpenGL { Delegates.glGetPixelMapfv(map, values); } + public static void GetPixelMapuiv(Enums.PixelMap map, out GLuint values) + { + values = default(GLuint); + GCHandle h0 = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetPixelMapuiv(map, h0.AddrOfPinnedObject()); + values = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetPixelMapuiv(Enums.PixelMap map, [In, Out()] System.IntPtr values) + { + Delegates.glGetPixelMapuiv(map, values); + } public static void GetPixelMapuiv(Enums.PixelMap map, GLuint[] values) { GCHandle h0 = GCHandle.Alloc(values, GCHandleType.Pinned); @@ -5623,10 +10862,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetPixelMapuiv(Enums.PixelMap map, [In, Out()] System.IntPtr values) - { - Delegates.glGetPixelMapuiv(map, values); - } public static void GetPixelMapusv(Enums.PixelMap map, [In, Out()] System.IntPtr values) { Delegates.glGetPixelMapusv(map, values); @@ -5643,10 +10878,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetPixelMapusv(Enums.PixelMap map, out GLushort values) + { + values = default(GLushort); + GCHandle h0 = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glGetPixelMapusv(map, h0.AddrOfPinnedObject()); + values = (GLushort)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetPixelTexGenParameterfvSGIS(Enums.PixelTexGenParameterNameSGIS pname, [In, Out()] System.IntPtr @params) { Delegates.glGetPixelTexGenParameterfvSGIS(pname, @params); } + public static void GetPixelTexGenParameterfvSGIS(Enums.PixelTexGenParameterNameSGIS pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPixelTexGenParameterfvSGIS(pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetPixelTexGenParameterfvSGIS(Enums.PixelTexGenParameterNameSGIS pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5659,10 +10922,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetPixelTexGenParameterivSGIS(Enums.PixelTexGenParameterNameSGIS pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetPixelTexGenParameterivSGIS(pname, @params); - } public static void GetPixelTexGenParameterivSGIS(Enums.PixelTexGenParameterNameSGIS pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5675,6 +10934,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetPixelTexGenParameterivSGIS(Enums.PixelTexGenParameterNameSGIS pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPixelTexGenParameterivSGIS(pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetPixelTexGenParameterivSGIS(Enums.PixelTexGenParameterNameSGIS pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetPixelTexGenParameterivSGIS(pname, @params); + } + public static void GetPointerv(Enums.GetPointervPName pname, out object @params) + { + @params = default(System.Object); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetPointerv(pname, h0.AddrOfPinnedObject()); + @params = (System.Object)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetPointerv(Enums.GetPointervPName pname, object[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5691,22 +10982,14 @@ namespace OpenTK.OpenGL { Delegates.glGetPointerv(pname, @params); } - public static void GetPointervEXT(Enums.GetPointervPName pname, IntPtr[] @params) - { - GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); - try - { - Delegates.glGetPointervEXT(pname, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } public static void GetPointervEXT(Enums.GetPointervPName pname, [In, Out()] System.IntPtr @params) { Delegates.glGetPointervEXT(pname, @params); } + public static void GetPolygonStipple([In, Out()] System.IntPtr mask) + { + Delegates.glGetPolygonStipple(mask); + } public static void GetPolygonStipple(GLubyte[] mask) { GCHandle h0 = GCHandle.Alloc(mask, GCHandleType.Pinned); @@ -5719,13 +11002,33 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetPolygonStipple([In, Out()] System.IntPtr mask) + public static void GetPolygonStipple(out GLubyte mask) { - Delegates.glGetPolygonStipple(mask); + mask = default(GLubyte); + GCHandle h0 = GCHandle.Alloc(mask, GCHandleType.Pinned); + try + { + Delegates.glGetPolygonStipple(h0.AddrOfPinnedObject()); + mask = (GLubyte)h0.Target; + } + finally + { + h0.Free(); + } } - public static void GetProgramEnvParameterdvARB(Enums.ARB_vertex_program target, GLuint index, [In, Out()] System.IntPtr @params) + public static void GetProgramEnvParameterdvARB(Enums.ARB_vertex_program target, GLuint index, out GLdouble @params) { - Delegates.glGetProgramEnvParameterdvARB(target, index, @params); + @params = default(GLdouble); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramEnvParameterdvARB(target, index, h0.AddrOfPinnedObject()); + @params = (GLdouble)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetProgramEnvParameterdvARB(Enums.ARB_vertex_program target, GLuint index, GLdouble[] @params) { @@ -5739,6 +11042,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetProgramEnvParameterdvARB(Enums.ARB_vertex_program target, GLuint index, [In, Out()] System.IntPtr @params) + { + Delegates.glGetProgramEnvParameterdvARB(target, index, @params); + } public static void GetProgramEnvParameterfvARB(Enums.ARB_vertex_program target, GLuint index, [In, Out()] System.IntPtr @params) { Delegates.glGetProgramEnvParameterfvARB(target, index, @params); @@ -5755,9 +11062,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetProgramEnvParameterIivNV(Enums.NV_gpu_program4 target, GLuint index, [In, Out()] System.IntPtr @params) + public static void GetProgramEnvParameterfvARB(Enums.ARB_vertex_program target, GLuint index, out GLfloat @params) { - Delegates.glGetProgramEnvParameterIivNV(target, index, @params); + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramEnvParameterfvARB(target, index, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetProgramEnvParameterIivNV(Enums.NV_gpu_program4 target, GLuint index, GLint[] @params) { @@ -5771,6 +11088,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetProgramEnvParameterIivNV(Enums.NV_gpu_program4 target, GLuint index, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramEnvParameterIivNV(target, index, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetProgramEnvParameterIivNV(Enums.NV_gpu_program4 target, GLuint index, [In, Out()] System.IntPtr @params) + { + Delegates.glGetProgramEnvParameterIivNV(target, index, @params); + } public static void GetProgramEnvParameterIuivNV(Enums.NV_gpu_program4 target, GLuint index, GLuint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5787,6 +11122,20 @@ namespace OpenTK.OpenGL { Delegates.glGetProgramEnvParameterIuivNV(target, index, @params); } + public static void GetProgramEnvParameterIuivNV(Enums.NV_gpu_program4 target, GLuint index, out GLuint @params) + { + @params = default(GLuint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramEnvParameterIuivNV(target, index, h0.AddrOfPinnedObject()); + @params = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetProgramInfoLog(GLuint program, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.Text.StringBuilder infoLog) { Delegates.glGetProgramInfoLog(program, bufSize, length, infoLog); @@ -5803,6 +11152,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetProgramInfoLog(GLuint program, GLsizei bufSize, out GLsizei length, [In, Out()] System.Text.StringBuilder infoLog) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + try + { + Delegates.glGetProgramInfoLog(program, bufSize, h0.AddrOfPinnedObject(), infoLog); + length = (GLsizei)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetProgramiv(GLuint program, Enums.VERSION_2_0 pname, [In, Out()] System.IntPtr @params) { Delegates.glGetProgramiv(program, pname, @params); @@ -5819,6 +11182,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetProgramiv(GLuint program, Enums.VERSION_2_0 pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramiv(program, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetProgramivARB(Enums.ARB_vertex_program target, Enums.ARB_vertex_program pname, [In, Out()] System.IntPtr @params) { Delegates.glGetProgramivARB(target, pname, @params); @@ -5835,6 +11212,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetProgramivARB(Enums.ARB_vertex_program target, Enums.ARB_vertex_program pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramivARB(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetProgramivNV(GLuint id, Enums.NV_vertex_program pname, [In, Out()] System.IntPtr @params) { Delegates.glGetProgramivNV(id, pname, @params); @@ -5851,10 +11242,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetProgramivNV(GLuint id, Enums.NV_vertex_program pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramivNV(id, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetProgramLocalParameterdvARB(Enums.ARB_vertex_program target, GLuint index, [In, Out()] System.IntPtr @params) { Delegates.glGetProgramLocalParameterdvARB(target, index, @params); } + public static void GetProgramLocalParameterdvARB(Enums.ARB_vertex_program target, GLuint index, out GLdouble @params) + { + @params = default(GLdouble); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramLocalParameterdvARB(target, index, h0.AddrOfPinnedObject()); + @params = (GLdouble)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetProgramLocalParameterdvARB(Enums.ARB_vertex_program target, GLuint index, GLdouble[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5879,10 +11298,28 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetProgramLocalParameterfvARB(Enums.ARB_vertex_program target, GLuint index, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramLocalParameterfvARB(target, index, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetProgramLocalParameterfvARB(Enums.ARB_vertex_program target, GLuint index, [In, Out()] System.IntPtr @params) { Delegates.glGetProgramLocalParameterfvARB(target, index, @params); } + public static void GetProgramLocalParameterIivNV(Enums.NV_gpu_program4 target, GLuint index, [In, Out()] System.IntPtr @params) + { + Delegates.glGetProgramLocalParameterIivNV(target, index, @params); + } public static void GetProgramLocalParameterIivNV(Enums.NV_gpu_program4 target, GLuint index, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -5895,9 +11332,37 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetProgramLocalParameterIivNV(Enums.NV_gpu_program4 target, GLuint index, [In, Out()] System.IntPtr @params) + public static void GetProgramLocalParameterIivNV(Enums.NV_gpu_program4 target, GLuint index, out GLint @params) { - Delegates.glGetProgramLocalParameterIivNV(target, index, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramLocalParameterIivNV(target, index, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetProgramLocalParameterIuivNV(Enums.NV_gpu_program4 target, GLuint index, [In, Out()] System.IntPtr @params) + { + Delegates.glGetProgramLocalParameterIuivNV(target, index, @params); + } + public static void GetProgramLocalParameterIuivNV(Enums.NV_gpu_program4 target, GLuint index, out GLuint @params) + { + @params = default(GLuint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramLocalParameterIuivNV(target, index, h0.AddrOfPinnedObject()); + @params = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetProgramLocalParameterIuivNV(Enums.NV_gpu_program4 target, GLuint index, GLuint[] @params) { @@ -5911,9 +11376,67 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetProgramLocalParameterIuivNV(Enums.NV_gpu_program4 target, GLuint index, [In, Out()] System.IntPtr @params) + public static void GetProgramNamedParameterdvNV(GLuint id, GLsizei len, ref GLubyte name, [In, Out()] System.IntPtr @params) { - Delegates.glGetProgramLocalParameterIuivNV(target, index, @params); + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + @params = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramNamedParameterdvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + @params = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetProgramNamedParameterdvNV(GLuint id, GLsizei len, GLubyte[] name, out GLdouble @params) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + @params = default(GLdouble); + GCHandle h1 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramNamedParameterdvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + @params = (GLdouble)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetProgramNamedParameterdvNV(GLuint id, GLsizei len, ref GLubyte name, GLdouble[] @params) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramNamedParameterdvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetProgramNamedParameterdvNV(GLuint id, GLsizei len, ref GLubyte name, out GLdouble @params) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + @params = default(GLdouble); + GCHandle h1 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramNamedParameterdvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + @params = (GLdouble)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } } public static void GetProgramNamedParameterdvNV(GLuint id, GLsizei len, GLubyte[] name, GLdouble[] @params) { @@ -5941,37 +11464,55 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetProgramNamedParameterdvNV(GLuint id, GLsizei len, GLubyte[] name, [In, Out()] System.IntPtr @params) - { - GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); - try - { - Delegates.glGetProgramNamedParameterdvNV(id, len, h0.AddrOfPinnedObject(), @params); - } - finally - { - h0.Free(); - } - } public static void GetProgramNamedParameterdvNV(GLuint id, GLsizei len, System.IntPtr name, [In, Out()] System.IntPtr @params) { Delegates.glGetProgramNamedParameterdvNV(id, len, name, @params); } - public static void GetProgramNamedParameterfvNV(GLuint id, GLsizei len, System.IntPtr name, GLfloat[] @params) + public static void GetProgramNamedParameterdvNV(GLuint id, GLsizei len, GLubyte[] name, [In, Out()] System.IntPtr @params) { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + @params = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramNamedParameterdvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + @params = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetProgramNamedParameterdvNV(GLuint id, GLsizei len, System.IntPtr name, out GLdouble @params) + { + @params = default(GLdouble); GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetProgramNamedParameterfvNV(id, len, name, h0.AddrOfPinnedObject()); + Delegates.glGetProgramNamedParameterdvNV(id, len, name, h0.AddrOfPinnedObject()); + @params = (GLdouble)h0.Target; } finally { h0.Free(); } } - public static void GetProgramNamedParameterfvNV(GLuint id, GLsizei len, System.IntPtr name, [In, Out()] System.IntPtr @params) + public static void GetProgramNamedParameterfvNV(GLuint id, GLsizei len, GLubyte[] name, [In, Out()] System.IntPtr @params) { - Delegates.glGetProgramNamedParameterfvNV(id, len, name, @params); + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + @params = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramNamedParameterfvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + @params = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } } public static void GetProgramNamedParameterfvNV(GLuint id, GLsizei len, GLubyte[] name, GLfloat[] @params) { @@ -5987,21 +11528,97 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void GetProgramNamedParameterfvNV(GLuint id, GLsizei len, GLubyte[] name, [In, Out()] System.IntPtr @params) + public static void GetProgramNamedParameterfvNV(GLuint id, GLsizei len, System.IntPtr name, out GLfloat @params) { - GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetProgramNamedParameterfvNV(id, len, h0.AddrOfPinnedObject(), @params); + Delegates.glGetProgramNamedParameterfvNV(id, len, name, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; } finally { h0.Free(); } } - public static void GetProgramParameterdvNV(Enums.NV_vertex_program target, GLuint index, Enums.NV_vertex_program pname, [In, Out()] System.IntPtr @params) + public static void GetProgramNamedParameterfvNV(GLuint id, GLsizei len, System.IntPtr name, [In, Out()] System.IntPtr @params) { - Delegates.glGetProgramParameterdvNV(target, index, pname, @params); + Delegates.glGetProgramNamedParameterfvNV(id, len, name, @params); + } + public static void GetProgramNamedParameterfvNV(GLuint id, GLsizei len, System.IntPtr name, GLfloat[] @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramNamedParameterfvNV(id, len, name, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void GetProgramNamedParameterfvNV(GLuint id, GLsizei len, GLubyte[] name, out GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + @params = default(GLfloat); + GCHandle h1 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramNamedParameterfvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + @params = (GLfloat)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetProgramNamedParameterfvNV(GLuint id, GLsizei len, ref GLubyte name, out GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + @params = default(GLfloat); + GCHandle h1 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramNamedParameterfvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + @params = (GLfloat)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetProgramNamedParameterfvNV(GLuint id, GLsizei len, ref GLubyte name, GLfloat[] @params) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramNamedParameterfvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void GetProgramNamedParameterfvNV(GLuint id, GLsizei len, ref GLubyte name, [In, Out()] System.IntPtr @params) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + @params = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramNamedParameterfvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + @params = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } } public static void GetProgramParameterdvNV(Enums.NV_vertex_program target, GLuint index, Enums.NV_vertex_program pname, GLdouble[] @params) { @@ -6015,6 +11632,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetProgramParameterdvNV(Enums.NV_vertex_program target, GLuint index, Enums.NV_vertex_program pname, out GLdouble @params) + { + @params = default(GLdouble); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramParameterdvNV(target, index, pname, h0.AddrOfPinnedObject()); + @params = (GLdouble)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetProgramParameterdvNV(Enums.NV_vertex_program target, GLuint index, Enums.NV_vertex_program pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetProgramParameterdvNV(target, index, pname, @params); + } public static void GetProgramParameterfvNV(Enums.NV_vertex_program target, GLuint index, Enums.NV_vertex_program pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6027,6 +11662,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetProgramParameterfvNV(Enums.NV_vertex_program target, GLuint index, Enums.NV_vertex_program pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetProgramParameterfvNV(target, index, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetProgramParameterfvNV(Enums.NV_vertex_program target, GLuint index, Enums.NV_vertex_program pname, [In, Out()] System.IntPtr @params) { Delegates.glGetProgramParameterfvNV(target, index, pname, @params); @@ -6047,9 +11696,19 @@ namespace OpenTK.OpenGL { Delegates.glGetProgramStringARB(target, pname, @string); } - public static void GetProgramStringNV(GLuint id, Enums.NV_vertex_program pname, [In, Out()] System.IntPtr program) + public static void GetProgramStringNV(GLuint id, Enums.NV_vertex_program pname, out GLubyte program) { - Delegates.glGetProgramStringNV(id, pname, program); + program = default(GLubyte); + GCHandle h0 = GCHandle.Alloc(program, GCHandleType.Pinned); + try + { + Delegates.glGetProgramStringNV(id, pname, h0.AddrOfPinnedObject()); + program = (GLubyte)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetProgramStringNV(GLuint id, Enums.NV_vertex_program pname, GLubyte[] program) { @@ -6063,6 +11722,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetProgramStringNV(GLuint id, Enums.NV_vertex_program pname, [In, Out()] System.IntPtr program) + { + Delegates.glGetProgramStringNV(id, pname, program); + } + public static void GetQueryiv(Enums.VERSION_1_5 target, Enums.VERSION_1_5 pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetQueryiv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetQueryiv(Enums.VERSION_1_5 target, Enums.VERSION_1_5 pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6079,9 +11756,19 @@ namespace OpenTK.OpenGL { Delegates.glGetQueryiv(target, pname, @params); } - public static void GetQueryivARB(Enums.ARB_occlusion_query target, Enums.ARB_occlusion_query pname, [In, Out()] System.IntPtr @params) + public static void GetQueryivARB(Enums.ARB_occlusion_query target, Enums.ARB_occlusion_query pname, out GLint @params) { - Delegates.glGetQueryivARB(target, pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetQueryivARB(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetQueryivARB(Enums.ARB_occlusion_query target, Enums.ARB_occlusion_query pname, GLint[] @params) { @@ -6095,7 +11782,15 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetQueryObjecti64vEXT(GLuint id, Enums.EXT_timer_query pname, GLint64EXT[] @params) + public static void GetQueryivARB(Enums.ARB_occlusion_query target, Enums.ARB_occlusion_query pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetQueryivARB(target, pname, @params); + } + public static void GetQueryObjecti64vEXT(GLuint id, Enums.GLenum pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetQueryObjecti64vEXT(id, pname, @params); + } + public static void GetQueryObjecti64vEXT(GLuint id, Enums.GLenum pname, GLint64EXT[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -6107,9 +11802,37 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetQueryObjecti64vEXT(GLuint id, Enums.EXT_timer_query pname, [In, Out()] System.IntPtr @params) + public static void GetQueryObjecti64vEXT(GLuint id, Enums.GLenum pname, out GLint64EXT @params) { - Delegates.glGetQueryObjecti64vEXT(id, pname, @params); + @params = default(GLint64EXT); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetQueryObjecti64vEXT(id, pname, h0.AddrOfPinnedObject()); + @params = (GLint64EXT)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetQueryObjectiv(GLuint id, Enums.VERSION_1_5 pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetQueryObjectiv(id, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetQueryObjectiv(GLuint id, Enums.VERSION_1_5 pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetQueryObjectiv(id, pname, @params); } public static void GetQueryObjectiv(GLuint id, Enums.VERSION_1_5 pname, GLint[] @params) { @@ -6123,13 +11846,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetQueryObjectiv(GLuint id, Enums.VERSION_1_5 pname, [In, Out()] System.IntPtr @params) + public static void GetQueryObjectivARB(GLuint id, Enums.ARB_occlusion_query pname, out GLint @params) { - Delegates.glGetQueryObjectiv(id, pname, @params); - } - public static void GetQueryObjectivARB(GLuint id, Enums.ARB_occlusion_query pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetQueryObjectivARB(id, pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetQueryObjectivARB(id, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetQueryObjectivARB(GLuint id, Enums.ARB_occlusion_query pname, GLint[] @params) { @@ -6143,11 +11872,15 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetQueryObjectui64vEXT(GLuint id, Enums.EXT_timer_query pname, [In, Out()] System.IntPtr @params) + public static void GetQueryObjectivARB(GLuint id, Enums.ARB_occlusion_query pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetQueryObjectivARB(id, pname, @params); + } + public static void GetQueryObjectui64vEXT(GLuint id, Enums.GLenum pname, [In, Out()] System.IntPtr @params) { Delegates.glGetQueryObjectui64vEXT(id, pname, @params); } - public static void GetQueryObjectui64vEXT(GLuint id, Enums.EXT_timer_query pname, GLuint64EXT[] @params) + public static void GetQueryObjectui64vEXT(GLuint id, Enums.GLenum pname, GLuint64EXT[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -6159,6 +11892,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetQueryObjectui64vEXT(GLuint id, Enums.GLenum pname, out GLuint64EXT @params) + { + @params = default(GLuint64EXT); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetQueryObjectui64vEXT(id, pname, h0.AddrOfPinnedObject()); + @params = (GLuint64EXT)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetQueryObjectuiv(GLuint id, Enums.VERSION_1_5 pname, out GLuint @params) + { + @params = default(GLuint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetQueryObjectuiv(id, pname, h0.AddrOfPinnedObject()); + @params = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetQueryObjectuiv(GLuint id, Enums.VERSION_1_5 pname, GLuint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6187,6 +11948,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetQueryObjectuivARB(GLuint id, Enums.ARB_occlusion_query pname, out GLuint @params) + { + @params = default(GLuint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetQueryObjectuivARB(id, pname, h0.AddrOfPinnedObject()); + @params = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetQueryObjectuivARB(GLuint id, Enums.ARB_occlusion_query pname, [In, Out()] System.IntPtr @params) { Delegates.glGetQueryObjectuivARB(id, pname, @params); @@ -6207,18 +11982,136 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, object row, object column, [In, Out()] System.IntPtr span) + public static void GetRenderbufferParameterivEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object pname, out GLint @params) { - GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(column, GCHandleType.Pinned); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilter(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), span); + Delegates.glGetRenderbufferParameterivEXT(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, object column, object span) + { + row = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + row = (System.IntPtr)h0.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); + } + } + public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, object row, [In, Out()] System.IntPtr column, object span) + { + GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); + column = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + column = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, [In, Out()] System.IntPtr column, [In, Out()] System.IntPtr span) + { + Delegates.glGetSeparableFilter(target, format, type, row, column, span); + } + public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, object row, [In, Out()] System.IntPtr column, [In, Out()] System.IntPtr span) + { + GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); + column = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(column, GCHandleType.Pinned); + span = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + column = (System.IntPtr)h1.Target; + span = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, [In, Out()] System.IntPtr column, object span) + { + row = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); + column = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + row = (System.IntPtr)h0.Target; + column = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, object column, [In, Out()] System.IntPtr span) + { + row = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(column, GCHandleType.Pinned); + span = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + row = (System.IntPtr)h0.Target; + span = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, object row, object column, [In, Out()] System.IntPtr span) + { + GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(column, GCHandleType.Pinned); + span = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilter(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + span = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); } } public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, object row, object column, object span) @@ -6237,128 +12130,42 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, object row, [In, Out()] System.IntPtr column, object span) - { - GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter(target, format, type, h0.AddrOfPinnedObject(), column, h1.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, [In, Out()] System.IntPtr column, object span) - { - GCHandle h0 = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter(target, format, type, row, column, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } - public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, [In, Out()] System.IntPtr column, [In, Out()] System.IntPtr span) - { - Delegates.glGetSeparableFilter(target, format, type, row, column, span); - } - public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, object column, [In, Out()] System.IntPtr span) - { - GCHandle h0 = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter(target, format, type, row, h0.AddrOfPinnedObject(), span); - } - finally - { - h0.Free(); - } - } - public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, object row, [In, Out()] System.IntPtr column, [In, Out()] System.IntPtr span) - { - GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter(target, format, type, h0.AddrOfPinnedObject(), column, span); - } - finally - { - h0.Free(); - } - } - public static void GetSeparableFilter(Enums.VERSION_1_2 target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, object column, object span) - { - GCHandle h0 = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilter(target, format, type, row, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, object column, [In, Out()] System.IntPtr span) - { - GCHandle h0 = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT(target, format, type, row, h0.AddrOfPinnedObject(), span); - } - finally - { - h0.Free(); - } - } - public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, [In, Out()] System.IntPtr column, object span) - { - GCHandle h0 = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT(target, format, type, row, column, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } - public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, [In, Out()] System.IntPtr column, [In, Out()] System.IntPtr span) - { - Delegates.glGetSeparableFilterEXT(target, format, type, row, column, span); - } - public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, object column, object span) - { - GCHandle h0 = GCHandle.Alloc(column, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT(target, format, type, row, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, object row, object column, [In, Out()] System.IntPtr span) + public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, object row, [In, Out()] System.IntPtr column, object span) { GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); + column = default(System.IntPtr); GCHandle h1 = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), span); + Delegates.glGetSeparableFilterEXT(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + column = (System.IntPtr)h1.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); + } + } + public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, object row, [In, Out()] System.IntPtr column, [In, Out()] System.IntPtr span) + { + GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); + column = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(column, GCHandleType.Pinned); + span = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + column = (System.IntPtr)h1.Target; + span = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); } } public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, object row, object column, object span) @@ -6377,36 +12184,104 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, object row, [In, Out()] System.IntPtr column, [In, Out()] System.IntPtr span) + public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, object row, object column, [In, Out()] System.IntPtr span) { GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(column, GCHandleType.Pinned); + span = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(span, GCHandleType.Pinned); try { - Delegates.glGetSeparableFilterEXT(target, format, type, h0.AddrOfPinnedObject(), column, span); - } - finally - { - h0.Free(); - } - } - public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, object row, [In, Out()] System.IntPtr column, object span) - { - GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(span, GCHandleType.Pinned); - try - { - Delegates.glGetSeparableFilterEXT(target, format, type, h0.AddrOfPinnedObject(), column, h1.AddrOfPinnedObject()); + Delegates.glGetSeparableFilterEXT(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + span = (System.IntPtr)h2.Target; } finally { h0.Free(); h1.Free(); + h2.Free(); + } + } + public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, [In, Out()] System.IntPtr column, object span) + { + row = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); + column = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + row = (System.IntPtr)h0.Target; + column = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, [In, Out()] System.IntPtr column, [In, Out()] System.IntPtr span) + { + Delegates.glGetSeparableFilterEXT(target, format, type, row, column, span); + } + public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, object column, object span) + { + row = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(column, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + row = (System.IntPtr)h0.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void GetSeparableFilterEXT(Enums.SeparableTargetEXT target, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr row, object column, [In, Out()] System.IntPtr span) + { + row = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(column, GCHandleType.Pinned); + span = default(System.IntPtr); + GCHandle h2 = GCHandle.Alloc(span, GCHandleType.Pinned); + try + { + Delegates.glGetSeparableFilterEXT(target, format, type, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + row = (System.IntPtr)h0.Target; + span = (System.IntPtr)h2.Target; + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); } } public static void GetShaderInfoLog(GLuint shader, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.Text.StringBuilder infoLog) { Delegates.glGetShaderInfoLog(shader, bufSize, length, infoLog); } + public static void GetShaderInfoLog(GLuint shader, GLsizei bufSize, out GLsizei length, [In, Out()] System.Text.StringBuilder infoLog) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + try + { + Delegates.glGetShaderInfoLog(shader, bufSize, h0.AddrOfPinnedObject(), infoLog); + length = (GLsizei)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei[] length, [In, Out()] System.Text.StringBuilder infoLog) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); @@ -6419,10 +12294,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetShaderiv(GLuint shader, Enums.VERSION_2_0 pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetShaderiv(shader, pname, @params); - } public static void GetShaderiv(GLuint shader, Enums.VERSION_2_0 pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6435,6 +12306,42 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetShaderiv(GLuint shader, Enums.VERSION_2_0 pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetShaderiv(shader, pname, @params); + } + public static void GetShaderiv(GLuint shader, Enums.VERSION_2_0 pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetShaderiv(shader, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetShaderSource(GLuint shader, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.Text.StringBuilder source) + { + Delegates.glGetShaderSource(shader, bufSize, length, source); + } + public static void GetShaderSource(GLuint shader, GLsizei bufSize, out GLsizei length, [In, Out()] System.Text.StringBuilder source) + { + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + try + { + Delegates.glGetShaderSource(shader, bufSize, h0.AddrOfPinnedObject(), source); + length = (GLsizei)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetShaderSource(GLuint shader, GLsizei bufSize, GLsizei[] length, [In, Out()] System.Text.StringBuilder source) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); @@ -6447,13 +12354,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetShaderSource(GLuint shader, GLsizei bufSize, [In, Out()] System.IntPtr length, [In, Out()] System.Text.StringBuilder source) + public static void GetShaderSourceARB(GLhandleARB obj, GLsizei maxLength, out GLsizei length, [In, Out()] System.Text.StringBuilder source) { - Delegates.glGetShaderSource(shader, bufSize, length, source); - } - public static void GetShaderSourceARB(GLhandleARB obj, GLsizei maxLength, [In, Out()] System.IntPtr length, [In, Out()] System.Text.StringBuilder source) - { - Delegates.glGetShaderSourceARB(obj, maxLength, length, source); + length = default(GLsizei); + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + try + { + Delegates.glGetShaderSourceARB(obj, maxLength, h0.AddrOfPinnedObject(), source); + length = (GLsizei)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetShaderSourceARB(GLhandleARB obj, GLsizei maxLength, GLsizei[] length, [In, Out()] System.Text.StringBuilder source) { @@ -6467,6 +12380,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetShaderSourceARB(GLhandleARB obj, GLsizei maxLength, [In, Out()] System.IntPtr length, [In, Out()] System.Text.StringBuilder source) + { + Delegates.glGetShaderSourceARB(obj, maxLength, length, source); + } + public static void GetSharpenTexFuncSGIS(Enums.TextureTarget target, out GLfloat points) + { + points = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glGetSharpenTexFuncSGIS(target, h0.AddrOfPinnedObject()); + points = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetSharpenTexFuncSGIS(Enums.TextureTarget target, GLfloat[] points) { GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); @@ -6487,10 +12418,6 @@ namespace OpenTK.OpenGL { return Marshal.PtrToStringAnsi(Delegates.glGetString(name)); } - public static void GetTexBumpParameterfvATI(Enums.ATI_envmap_bumpmap pname, [In, Out()] System.IntPtr param) - { - Delegates.glGetTexBumpParameterfvATI(pname, param); - } public static void GetTexBumpParameterfvATI(Enums.ATI_envmap_bumpmap pname, GLfloat[] param) { GCHandle h0 = GCHandle.Alloc(param, GCHandleType.Pinned); @@ -6503,9 +12430,37 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetTexBumpParameterivATI(Enums.ATI_envmap_bumpmap pname, [In, Out()] System.IntPtr param) + public static void GetTexBumpParameterfvATI(Enums.ATI_envmap_bumpmap pname, [In, Out()] System.IntPtr param) { - Delegates.glGetTexBumpParameterivATI(pname, param); + Delegates.glGetTexBumpParameterfvATI(pname, param); + } + public static void GetTexBumpParameterfvATI(Enums.ATI_envmap_bumpmap pname, out GLfloat param) + { + param = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(param, GCHandleType.Pinned); + try + { + Delegates.glGetTexBumpParameterfvATI(pname, h0.AddrOfPinnedObject()); + param = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetTexBumpParameterivATI(Enums.ATI_envmap_bumpmap pname, out GLint param) + { + param = default(GLint); + GCHandle h0 = GCHandle.Alloc(param, GCHandleType.Pinned); + try + { + Delegates.glGetTexBumpParameterivATI(pname, h0.AddrOfPinnedObject()); + param = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetTexBumpParameterivATI(Enums.ATI_envmap_bumpmap pname, GLint[] param) { @@ -6519,6 +12474,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetTexBumpParameterivATI(Enums.ATI_envmap_bumpmap pname, [In, Out()] System.IntPtr param) + { + Delegates.glGetTexBumpParameterivATI(pname, param); + } + public static void GetTexEnvfv(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexEnvfv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetTexEnvfv(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6535,6 +12508,24 @@ namespace OpenTK.OpenGL { Delegates.glGetTexEnvfv(target, pname, @params); } + public static void GetTexEnviv(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetTexEnviv(target, pname, @params); + } + public static void GetTexEnviv(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexEnviv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetTexEnviv(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6547,10 +12538,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetTexEnviv(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetTexEnviv(target, pname, @params); - } public static void GetTexFilterFuncSGIS(Enums.TextureTarget target, Enums.SGIS_texture_filter4 filter, [In, Out()] System.IntPtr weights) { Delegates.glGetTexFilterFuncSGIS(target, filter, weights); @@ -6567,6 +12554,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetTexFilterFuncSGIS(Enums.TextureTarget target, Enums.SGIS_texture_filter4 filter, out GLfloat weights) + { + weights = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); + try + { + Delegates.glGetTexFilterFuncSGIS(target, filter, h0.AddrOfPinnedObject()); + weights = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetTexGendv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, out GLdouble @params) + { + @params = default(GLdouble); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexGendv(coord, pname, h0.AddrOfPinnedObject()); + @params = (GLdouble)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetTexGendv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, GLdouble[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6587,6 +12602,20 @@ namespace OpenTK.OpenGL { Delegates.glGetTexGenfv(coord, pname, @params); } + public static void GetTexGenfv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexGenfv(coord, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetTexGenfv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6599,6 +12628,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetTexGeniv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexGeniv(coord, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetTexGeniv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6631,9 +12674,19 @@ namespace OpenTK.OpenGL { Delegates.glGetTexImage(target, level, format, type, pixels); } - public static void GetTexLevelParameterfv(Enums.TextureTarget target, GLint level, Enums.GetTextureParameter pname, [In, Out()] System.IntPtr @params) + public static void GetTexLevelParameterfv(Enums.TextureTarget target, GLint level, Enums.GetTextureParameter pname, out GLfloat @params) { - Delegates.glGetTexLevelParameterfv(target, level, pname, @params); + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexLevelParameterfv(target, level, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetTexLevelParameterfv(Enums.TextureTarget target, GLint level, Enums.GetTextureParameter pname, GLfloat[] @params) { @@ -6647,9 +12700,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetTexLevelParameteriv(Enums.TextureTarget target, GLint level, Enums.GetTextureParameter pname, [In, Out()] System.IntPtr @params) + public static void GetTexLevelParameterfv(Enums.TextureTarget target, GLint level, Enums.GetTextureParameter pname, [In, Out()] System.IntPtr @params) { - Delegates.glGetTexLevelParameteriv(target, level, pname, @params); + Delegates.glGetTexLevelParameterfv(target, level, pname, @params); } public static void GetTexLevelParameteriv(Enums.TextureTarget target, GLint level, Enums.GetTextureParameter pname, GLint[] @params) { @@ -6663,6 +12716,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetTexLevelParameteriv(Enums.TextureTarget target, GLint level, Enums.GetTextureParameter pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexLevelParameteriv(target, level, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetTexLevelParameteriv(Enums.TextureTarget target, GLint level, Enums.GetTextureParameter pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetTexLevelParameteriv(target, level, pname, @params); + } + public static void GetTexParameterfv(Enums.TextureTarget target, Enums.GetTextureParameter pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexParameterfv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetTexParameterfv(Enums.TextureTarget target, Enums.GetTextureParameter pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6679,6 +12764,10 @@ namespace OpenTK.OpenGL { Delegates.glGetTexParameterfv(target, pname, @params); } + public static void GetTexParameterIivEXT(Enums.TextureTarget target, Enums.GetTextureParameter pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetTexParameterIivEXT(target, pname, @params); + } public static void GetTexParameterIivEXT(Enums.TextureTarget target, Enums.GetTextureParameter pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6691,9 +12780,33 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetTexParameterIivEXT(Enums.TextureTarget target, Enums.GetTextureParameter pname, [In, Out()] System.IntPtr @params) + public static void GetTexParameterIivEXT(Enums.TextureTarget target, Enums.GetTextureParameter pname, out GLint @params) { - Delegates.glGetTexParameterIivEXT(target, pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexParameterIivEXT(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetTexParameterIuivEXT(Enums.TextureTarget target, Enums.GetTextureParameter pname, out GLuint @params) + { + @params = default(GLuint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexParameterIuivEXT(target, pname, h0.AddrOfPinnedObject()); + @params = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetTexParameterIuivEXT(Enums.TextureTarget target, Enums.GetTextureParameter pname, GLuint[] @params) { @@ -6711,6 +12824,10 @@ namespace OpenTK.OpenGL { Delegates.glGetTexParameterIuivEXT(target, pname, @params); } + public static void GetTexParameteriv(Enums.TextureTarget target, Enums.GetTextureParameter pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetTexParameteriv(target, pname, @params); + } public static void GetTexParameteriv(Enums.TextureTarget target, Enums.GetTextureParameter pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6723,9 +12840,33 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetTexParameteriv(Enums.TextureTarget target, Enums.GetTextureParameter pname, [In, Out()] System.IntPtr @params) + public static void GetTexParameteriv(Enums.TextureTarget target, Enums.GetTextureParameter pname, out GLint @params) { - Delegates.glGetTexParameteriv(target, pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTexParameteriv(target, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetTrackMatrixivNV(Enums.NV_vertex_program target, GLuint address, Enums.NV_vertex_program pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetTrackMatrixivNV(target, address, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetTrackMatrixivNV(Enums.NV_vertex_program target, GLuint address, Enums.NV_vertex_program pname, GLint[] @params) { @@ -6759,6 +12900,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetTransformFeedbackVaryingNV(GLuint program, GLuint index, out GLint location) + { + location = default(GLint); + GCHandle h0 = GCHandle.Alloc(location, GCHandleType.Pinned); + try + { + Delegates.glGetTransformFeedbackVaryingNV(program, index, h0.AddrOfPinnedObject()); + location = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static GLint GetUniformBufferSizeEXT(GLuint program, GLint location) { return Delegates.glGetUniformBufferSizeEXT(program, location); @@ -6767,6 +12922,20 @@ namespace OpenTK.OpenGL { Delegates.glGetUniformfv(program, location, @params); } + public static void GetUniformfv(GLuint program, GLint location, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetUniformfv(program, location, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetUniformfv(GLuint program, GLint location, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6779,9 +12948,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetUniformfvARB(GLhandleARB programObj, GLint location, [In, Out()] System.IntPtr @params) + public static void GetUniformfvARB(GLhandleARB programObj, GLint location, out GLfloat @params) { - Delegates.glGetUniformfvARB(programObj, location, @params); + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetUniformfvARB(programObj, location, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetUniformfvARB(GLhandleARB programObj, GLint location, GLfloat[] @params) { @@ -6795,9 +12974,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetUniformiv(GLuint program, GLint location, [In, Out()] System.IntPtr @params) + public static void GetUniformfvARB(GLhandleARB programObj, GLint location, [In, Out()] System.IntPtr @params) { - Delegates.glGetUniformiv(program, location, @params); + Delegates.glGetUniformfvARB(programObj, location, @params); + } + public static void GetUniformiv(GLuint program, GLint location, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetUniformiv(program, location, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetUniformiv(GLuint program, GLint location, GLint[] @params) { @@ -6811,6 +13004,28 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetUniformiv(GLuint program, GLint location, [In, Out()] System.IntPtr @params) + { + Delegates.glGetUniformiv(program, location, @params); + } + public static void GetUniformivARB(GLhandleARB programObj, GLint location, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetUniformivARB(programObj, location, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetUniformivARB(GLhandleARB programObj, GLint location, [In, Out()] System.IntPtr @params) + { + Delegates.glGetUniformivARB(programObj, location, @params); + } public static void GetUniformivARB(GLhandleARB programObj, GLint location, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6823,10 +13038,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetUniformivARB(GLhandleARB programObj, GLint location, [In, Out()] System.IntPtr @params) - { - Delegates.glGetUniformivARB(programObj, location, @params); - } public static GLint GetUniformLocation(GLuint program, string name) { return Delegates.glGetUniformLocation(program, name); @@ -6839,9 +13050,19 @@ namespace OpenTK.OpenGL { return Delegates.glGetUniformOffsetEXT(program, location); } - public static void GetUniformuivEXT(GLuint program, GLint location, [In, Out()] System.IntPtr @params) + public static void GetUniformuivEXT(GLuint program, GLint location, out GLuint @params) { - Delegates.glGetUniformuivEXT(program, location, @params); + @params = default(GLuint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetUniformuivEXT(program, location, h0.AddrOfPinnedObject()); + @params = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetUniformuivEXT(GLuint program, GLint location, GLuint[] @params) { @@ -6855,9 +13076,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetVariantArrayObjectfvATI(GLuint id, Enums.ATI_vertex_array_object pname, [In, Out()] System.IntPtr @params) + public static void GetUniformuivEXT(GLuint program, GLint location, [In, Out()] System.IntPtr @params) { - Delegates.glGetVariantArrayObjectfvATI(id, pname, @params); + Delegates.glGetUniformuivEXT(program, location, @params); + } + public static void GetVariantArrayObjectfvATI(GLuint id, Enums.ATI_vertex_array_object pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVariantArrayObjectfvATI(id, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetVariantArrayObjectfvATI(GLuint id, Enums.ATI_vertex_array_object pname, GLfloat[] @params) { @@ -6871,6 +13106,28 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetVariantArrayObjectfvATI(GLuint id, Enums.ATI_vertex_array_object pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetVariantArrayObjectfvATI(id, pname, @params); + } + public static void GetVariantArrayObjectivATI(GLuint id, Enums.ATI_vertex_array_object pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetVariantArrayObjectivATI(id, pname, @params); + } + public static void GetVariantArrayObjectivATI(GLuint id, Enums.ATI_vertex_array_object pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVariantArrayObjectivATI(id, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetVariantArrayObjectivATI(GLuint id, Enums.ATI_vertex_array_object pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6883,9 +13140,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetVariantArrayObjectivATI(GLuint id, Enums.ATI_vertex_array_object pname, [In, Out()] System.IntPtr @params) + public static void GetVariantBooleanvEXT(GLuint id, Enums.EXT_vertex_shader value, out Enums.Boolean data) { - Delegates.glGetVariantArrayObjectivATI(id, pname, @params); + data = default(Enums.Boolean); + GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantBooleanvEXT(id, value, h0.AddrOfPinnedObject()); + data = (Enums.Boolean)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetVariantBooleanvEXT(GLuint id, Enums.EXT_vertex_shader value, Enums.Boolean[] data) { @@ -6919,9 +13186,33 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetVariantIntegervEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) + public static void GetVariantFloatvEXT(GLuint id, Enums.EXT_vertex_shader value, out GLfloat data) { - Delegates.glGetVariantIntegervEXT(id, value, data); + data = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantFloatvEXT(id, value, h0.AddrOfPinnedObject()); + data = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetVariantIntegervEXT(GLuint id, Enums.EXT_vertex_shader value, out GLint data) + { + data = default(GLint); + GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Delegates.glGetVariantIntegervEXT(id, value, h0.AddrOfPinnedObject()); + data = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetVariantIntegervEXT(GLuint id, Enums.EXT_vertex_shader value, GLint[] data) { @@ -6935,22 +13226,14 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetVariantIntegervEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) + { + Delegates.glGetVariantIntegervEXT(id, value, data); + } public static void GetVariantPointervEXT(GLuint id, Enums.EXT_vertex_shader value, [In, Out()] System.IntPtr data) { Delegates.glGetVariantPointervEXT(id, value, data); } - public static void GetVariantPointervEXT(GLuint id, Enums.EXT_vertex_shader value, IntPtr[] data) - { - GCHandle h0 = GCHandle.Alloc(data, GCHandleType.Pinned); - try - { - Delegates.glGetVariantPointervEXT(id, value, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } public static GLint GetVaryingLocationNV(GLuint program, string name) { return Delegates.glGetVaryingLocationNV(program, name); @@ -6967,10 +13250,28 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetVertexAttribArrayObjectfvATI(GLuint index, Enums.ATI_vertex_attrib_array_object pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribArrayObjectfvATI(index, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetVertexAttribArrayObjectfvATI(GLuint index, Enums.ATI_vertex_attrib_array_object pname, [In, Out()] System.IntPtr @params) { Delegates.glGetVertexAttribArrayObjectfvATI(index, pname, @params); } + public static void GetVertexAttribArrayObjectivATI(GLuint index, Enums.ATI_vertex_attrib_array_object pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetVertexAttribArrayObjectivATI(index, pname, @params); + } public static void GetVertexAttribArrayObjectivATI(GLuint index, Enums.ATI_vertex_attrib_array_object pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -6983,9 +13284,33 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetVertexAttribArrayObjectivATI(GLuint index, Enums.ATI_vertex_attrib_array_object pname, [In, Out()] System.IntPtr @params) + public static void GetVertexAttribArrayObjectivATI(GLuint index, Enums.ATI_vertex_attrib_array_object pname, out GLint @params) { - Delegates.glGetVertexAttribArrayObjectivATI(index, pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribArrayObjectivATI(index, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetVertexAttribdv(GLuint index, Enums.VERSION_2_0 pname, out GLdouble @params) + { + @params = default(GLdouble); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribdv(index, pname, h0.AddrOfPinnedObject()); + @params = (GLdouble)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetVertexAttribdv(GLuint index, Enums.VERSION_2_0 pname, GLdouble[] @params) { @@ -7007,6 +13332,20 @@ namespace OpenTK.OpenGL { Delegates.glGetVertexAttribdvARB(index, pname, @params); } + public static void GetVertexAttribdvARB(GLuint index, Enums.ARB_vertex_program pname, out GLdouble @params) + { + @params = default(GLdouble); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribdvARB(index, pname, h0.AddrOfPinnedObject()); + @params = (GLdouble)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetVertexAttribdvARB(GLuint index, Enums.ARB_vertex_program pname, GLdouble[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -7023,6 +13362,20 @@ namespace OpenTK.OpenGL { Delegates.glGetVertexAttribdvNV(index, pname, @params); } + public static void GetVertexAttribdvNV(GLuint index, Enums.NV_vertex_program pname, out GLdouble @params) + { + @params = default(GLdouble); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribdvNV(index, pname, h0.AddrOfPinnedObject()); + @params = (GLdouble)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetVertexAttribdvNV(GLuint index, Enums.NV_vertex_program pname, GLdouble[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -7035,6 +13388,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetVertexAttribfv(GLuint index, Enums.VERSION_2_0 pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribfv(index, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetVertexAttribfv(GLuint index, Enums.VERSION_2_0 pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -7051,6 +13418,24 @@ namespace OpenTK.OpenGL { Delegates.glGetVertexAttribfv(index, pname, @params); } + public static void GetVertexAttribfvARB(GLuint index, Enums.ARB_vertex_program pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribfvARB(index, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetVertexAttribfvARB(GLuint index, Enums.ARB_vertex_program pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetVertexAttribfvARB(index, pname, @params); + } public static void GetVertexAttribfvARB(GLuint index, Enums.ARB_vertex_program pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -7063,10 +13448,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetVertexAttribfvARB(GLuint index, Enums.ARB_vertex_program pname, [In, Out()] System.IntPtr @params) - { - Delegates.glGetVertexAttribfvARB(index, pname, @params); - } public static void GetVertexAttribfvNV(GLuint index, Enums.NV_vertex_program pname, [In, Out()] System.IntPtr @params) { Delegates.glGetVertexAttribfvNV(index, pname, @params); @@ -7083,6 +13464,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetVertexAttribfvNV(GLuint index, Enums.NV_vertex_program pname, out GLfloat @params) + { + @params = default(GLfloat); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribfvNV(index, pname, h0.AddrOfPinnedObject()); + @params = (GLfloat)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetVertexAttribIivEXT(GLuint index, Enums.NV_vertex_program4 pname, [In, Out()] System.IntPtr @params) { Delegates.glGetVertexAttribIivEXT(index, pname, @params); @@ -7099,6 +13494,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetVertexAttribIivEXT(GLuint index, Enums.NV_vertex_program4 pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribIivEXT(index, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetVertexAttribIuivEXT(GLuint index, Enums.NV_vertex_program4 pname, out GLuint @params) + { + @params = default(GLuint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribIuivEXT(index, pname, h0.AddrOfPinnedObject()); + @params = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetVertexAttribIuivEXT(GLuint index, Enums.NV_vertex_program4 pname, [In, Out()] System.IntPtr @params) { Delegates.glGetVertexAttribIuivEXT(index, pname, @params); @@ -7131,9 +13554,33 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void GetVertexAttribivARB(GLuint index, Enums.ARB_vertex_program pname, [In, Out()] System.IntPtr @params) + public static void GetVertexAttribiv(GLuint index, Enums.VERSION_2_0 pname, out GLint @params) { - Delegates.glGetVertexAttribivARB(index, pname, @params); + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribiv(index, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void GetVertexAttribivARB(GLuint index, Enums.ARB_vertex_program pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribivARB(index, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } } public static void GetVertexAttribivARB(GLuint index, Enums.ARB_vertex_program pname, GLint[] @params) { @@ -7147,10 +13594,28 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void GetVertexAttribivARB(GLuint index, Enums.ARB_vertex_program pname, [In, Out()] System.IntPtr @params) + { + Delegates.glGetVertexAttribivARB(index, pname, @params); + } public static void GetVertexAttribivNV(GLuint index, Enums.NV_vertex_program pname, [In, Out()] System.IntPtr @params) { Delegates.glGetVertexAttribivNV(index, pname, @params); } + public static void GetVertexAttribivNV(GLuint index, Enums.NV_vertex_program pname, out GLint @params) + { + @params = default(GLint); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glGetVertexAttribivNV(index, pname, h0.AddrOfPinnedObject()); + @params = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } public static void GetVertexAttribivNV(GLuint index, Enums.NV_vertex_program pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -7167,30 +13632,6 @@ namespace OpenTK.OpenGL { Delegates.glGetVertexAttribPointerv(index, pname, pointer); } - public static void GetVertexAttribPointerv(GLuint index, Enums.VERSION_2_0 pname, IntPtr[] pointer) - { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointerv(index, pname, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } - public static void GetVertexAttribPointervARB(GLuint index, Enums.ARB_vertex_program pname, IntPtr[] pointer) - { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervARB(index, pname, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } public static void GetVertexAttribPointervARB(GLuint index, Enums.ARB_vertex_program pname, [In, Out()] System.IntPtr pointer) { Delegates.glGetVertexAttribPointervARB(index, pname, pointer); @@ -7199,18 +13640,6 @@ namespace OpenTK.OpenGL { Delegates.glGetVertexAttribPointervNV(index, pname, pointer); } - public static void GetVertexAttribPointervNV(GLuint index, Enums.NV_vertex_program pname, IntPtr[] pointer) - { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glGetVertexAttribPointervNV(index, pname, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } public static void GlobalAlphaFactorbSUN(GLbyte factor) { Delegates.glGlobalAlphaFactorbSUN(factor); @@ -7259,7 +13688,11 @@ namespace OpenTK.OpenGL { Delegates.glHistogramEXT(target, width, internalformat, sink); } - public static void IglooInterfaceSGIX(GLenum pname, object @params) + public static void IglooInterfaceSGIX(Enums.GLenum pname, System.IntPtr @params) + { + Delegates.glIglooInterfaceSGIX(pname, @params); + } + public static void IglooInterfaceSGIX(Enums.GLenum pname, object @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -7271,10 +13704,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void IglooInterfaceSGIX(GLenum pname, System.IntPtr @params) - { - Delegates.glIglooInterfaceSGIX(pname, @params); - } public static void ImageTransformParameterfHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, GLfloat param) { Delegates.glImageTransformParameterfHP(target, pname, param); @@ -7291,6 +13720,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ImageTransformParameterfvHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glImageTransformParameterfvHP(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ImageTransformParameterfvHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, System.IntPtr @params) { Delegates.glImageTransformParameterfvHP(target, pname, @params); @@ -7299,10 +13740,6 @@ namespace OpenTK.OpenGL { Delegates.glImageTransformParameteriHP(target, pname, param); } - public static void ImageTransformParameterivHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, System.IntPtr @params) - { - Delegates.glImageTransformParameterivHP(target, pname, @params); - } public static void ImageTransformParameterivHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -7315,10 +13752,30 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ImageTransformParameterivHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glImageTransformParameterivHP(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ImageTransformParameterivHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, System.IntPtr @params) + { + Delegates.glImageTransformParameterivHP(target, pname, @params); + } public static void Indexd(GLdouble c) { Delegates.glIndexd(c); } + public static void Indexdv(System.IntPtr c) + { + Delegates.glIndexdv(c); + } public static void Indexdv(GLdouble[] c) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); @@ -7331,9 +13788,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Indexdv(System.IntPtr c) + public static void Indexdv(ref GLdouble c) { - Delegates.glIndexdv(c); + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glIndexdv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Indexf(GLfloat c) { @@ -7359,10 +13824,26 @@ namespace OpenTK.OpenGL { Delegates.glIndexfv(c); } + public static void Indexfv(ref GLfloat c) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glIndexfv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Indexi(GLint c) { Delegates.glIndexi(c); } + public static void Indexiv(System.IntPtr c) + { + Delegates.glIndexiv(c); + } public static void Indexiv(GLint[] c) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); @@ -7375,9 +13856,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Indexiv(System.IntPtr c) + public static void Indexiv(ref GLint c) { - Delegates.glIndexiv(c); + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glIndexiv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void IndexMask(GLuint mask) { @@ -7387,10 +13876,6 @@ namespace OpenTK.OpenGL { Delegates.glIndexMaterialEXT(face, mode); } - public static void IndexPointer(Enums.IndexPointerType type, GLsizei stride, System.IntPtr pointer) - { - Delegates.glIndexPointer(type, stride, pointer); - } public static void IndexPointer(Enums.IndexPointerType type, GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -7403,9 +13888,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void IndexPointerEXT(Enums.IndexPointerType type, GLsizei stride, GLsizei count, System.IntPtr pointer) + public static void IndexPointer(Enums.IndexPointerType type, GLsizei stride, System.IntPtr pointer) { - Delegates.glIndexPointerEXT(type, stride, count, pointer); + Delegates.glIndexPointer(type, stride, pointer); } public static void IndexPointerEXT(Enums.IndexPointerType type, GLsizei stride, GLsizei count, object pointer) { @@ -7419,17 +13904,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void IndexPointerListIBM(Enums.IndexPointerType type, GLint stride, IntPtr[] pointer, GLint ptrstride) + public static void IndexPointerEXT(Enums.IndexPointerType type, GLsizei stride, GLsizei count, System.IntPtr pointer) { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glIndexPointerListIBM(type, stride, h0.AddrOfPinnedObject(), ptrstride); - } - finally - { - h0.Free(); - } + Delegates.glIndexPointerEXT(type, stride, count, pointer); } public static void IndexPointerListIBM(Enums.IndexPointerType type, GLint stride, System.IntPtr pointer, GLint ptrstride) { @@ -7451,6 +13928,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Indexsv(ref GLshort c) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glIndexsv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Indexsv(System.IntPtr c) { Delegates.glIndexsv(c); @@ -7463,6 +13952,18 @@ namespace OpenTK.OpenGL { Delegates.glIndexubv(c); } + public static void Indexubv(ref GLubyte c) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glIndexubv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Indexubv(GLubyte[] c) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); @@ -7483,10 +13984,6 @@ namespace OpenTK.OpenGL { Delegates.glInsertComponentEXT(res, src, num); } - public static void InstrumentsBufferSGIX(GLsizei size, [In, Out()] System.IntPtr buffer) - { - Delegates.glInstrumentsBufferSGIX(size, buffer); - } public static void InstrumentsBufferSGIX(GLsizei size, GLint[] buffer) { GCHandle h0 = GCHandle.Alloc(buffer, GCHandleType.Pinned); @@ -7499,9 +13996,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void InterleavedArrays(Enums.InterleavedArrayFormat format, GLsizei stride, System.IntPtr pointer) + public static void InstrumentsBufferSGIX(GLsizei size, out GLint buffer) { - Delegates.glInterleavedArrays(format, stride, pointer); + buffer = default(GLint); + GCHandle h0 = GCHandle.Alloc(buffer, GCHandleType.Pinned); + try + { + Delegates.glInstrumentsBufferSGIX(size, h0.AddrOfPinnedObject()); + buffer = (GLint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void InstrumentsBufferSGIX(GLsizei size, [In, Out()] System.IntPtr buffer) + { + Delegates.glInstrumentsBufferSGIX(size, buffer); } public static void InterleavedArrays(Enums.InterleavedArrayFormat format, GLsizei stride, object pointer) { @@ -7515,6 +14026,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void InterleavedArrays(Enums.InterleavedArrayFormat format, GLsizei stride, System.IntPtr pointer) + { + Delegates.glInterleavedArrays(format, stride, pointer); + } public static GLboolean IsAsyncMarkerSGIX(GLuint marker) { return Delegates.glIsAsyncMarkerSGIX(marker); @@ -7531,7 +14046,7 @@ namespace OpenTK.OpenGL { return Delegates.glIsEnabled(cap); } - public static GLboolean IsEnabledIndexedEXT(Enums.EXT_draw_buffers2 target, GLuint index) + public static GLboolean IsEnabledIndexedEXT(Enums.GLenum target, GLuint index) { return Delegates.glIsEnabledIndexedEXT(target, index); } @@ -7611,6 +14126,18 @@ namespace OpenTK.OpenGL { Delegates.glLightf(light, pname, param); } + public static void Lightfv(Enums.LightName light, Enums.LightParameter pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glLightfv(light, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Lightfv(Enums.LightName light, Enums.LightParameter pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -7631,9 +14158,17 @@ namespace OpenTK.OpenGL { Delegates.glLighti(light, pname, param); } - public static void Lightiv(Enums.LightName light, Enums.LightParameter pname, System.IntPtr @params) + public static void Lightiv(Enums.LightName light, Enums.LightParameter pname, ref GLint @params) { - Delegates.glLightiv(light, pname, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glLightiv(light, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Lightiv(Enums.LightName light, Enums.LightParameter pname, GLint[] @params) { @@ -7647,10 +14182,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Lightiv(Enums.LightName light, Enums.LightParameter pname, System.IntPtr @params) + { + Delegates.glLightiv(light, pname, @params); + } public static void LightModelf(Enums.LightModelParameter pname, GLfloat param) { Delegates.glLightModelf(pname, param); } + public static void LightModelfv(Enums.LightModelParameter pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glLightModelfv(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void LightModelfv(Enums.LightModelParameter pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -7671,10 +14222,6 @@ namespace OpenTK.OpenGL { Delegates.glLightModeli(pname, param); } - public static void LightModeliv(Enums.LightModelParameter pname, System.IntPtr @params) - { - Delegates.glLightModeliv(pname, @params); - } public static void LightModeliv(Enums.LightModelParameter pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -7687,6 +14234,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void LightModeliv(Enums.LightModelParameter pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glLightModeliv(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void LightModeliv(Enums.LightModelParameter pname, System.IntPtr @params) + { + Delegates.glLightModeliv(pname, @params); + } public static void LineStipple(GLint factor, GLushort pattern) { Delegates.glLineStipple(factor, unchecked((GLushort)pattern)); @@ -7715,6 +14278,18 @@ namespace OpenTK.OpenGL { Delegates.glListParameterfvSGIX(list, pname, @params); } + public static void ListParameterfvSGIX(GLuint list, Enums.ListParameterName pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glListParameterfvSGIX(list, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ListParameterfvSGIX(GLuint list, Enums.ListParameterName pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -7731,9 +14306,17 @@ namespace OpenTK.OpenGL { Delegates.glListParameteriSGIX(list, pname, param); } - public static void ListParameterivSGIX(GLuint list, Enums.ListParameterName pname, System.IntPtr @params) + public static void ListParameterivSGIX(GLuint list, Enums.ListParameterName pname, ref GLint @params) { - Delegates.glListParameterivSGIX(list, pname, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glListParameterivSGIX(list, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void ListParameterivSGIX(GLuint list, Enums.ListParameterName pname, GLint[] @params) { @@ -7747,6 +14330,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ListParameterivSGIX(GLuint list, Enums.ListParameterName pname, System.IntPtr @params) + { + Delegates.glListParameterivSGIX(list, pname, @params); + } public static void LoadIdentity() { Delegates.glLoadIdentity(); @@ -7755,7 +14342,7 @@ namespace OpenTK.OpenGL { Delegates.glLoadIdentityDeformationMapSGIX(mask); } - public static void LoadMatrixd(GLdouble[] m) + public static void LoadMatrixd(ref GLdouble m) { GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); try @@ -7771,10 +14358,34 @@ namespace OpenTK.OpenGL { Delegates.glLoadMatrixd(m); } + public static void LoadMatrixd(GLdouble[] m) + { + GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); + try + { + Delegates.glLoadMatrixd(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void LoadMatrixf(System.IntPtr m) { Delegates.glLoadMatrixf(m); } + public static void LoadMatrixf(ref GLfloat m) + { + GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); + try + { + Delegates.glLoadMatrixf(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void LoadMatrixf(GLfloat[] m) { GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); @@ -7791,6 +14402,18 @@ namespace OpenTK.OpenGL { Delegates.glLoadName(name); } + public static void LoadProgramNV(Enums.NV_vertex_program target, GLuint id, GLsizei len, ref GLubyte program) + { + GCHandle h0 = GCHandle.Alloc(program, GCHandleType.Pinned); + try + { + Delegates.glLoadProgramNV(target, id, len, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void LoadProgramNV(Enums.NV_vertex_program target, GLuint id, GLsizei len, GLubyte[] program) { GCHandle h0 = GCHandle.Alloc(program, GCHandleType.Pinned); @@ -7807,10 +14430,6 @@ namespace OpenTK.OpenGL { Delegates.glLoadProgramNV(target, id, len, program); } - public static void LoadTransposeMatrixd(System.IntPtr m) - { - Delegates.glLoadTransposeMatrixd(m); - } public static void LoadTransposeMatrixd(GLdouble[] m) { GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); @@ -7823,6 +14442,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void LoadTransposeMatrixd(ref GLdouble m) + { + GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); + try + { + Delegates.glLoadTransposeMatrixd(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void LoadTransposeMatrixd(System.IntPtr m) + { + Delegates.glLoadTransposeMatrixd(m); + } + public static void LoadTransposeMatrixdARB(ref GLdouble m) + { + GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); + try + { + Delegates.glLoadTransposeMatrixdARB(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void LoadTransposeMatrixdARB(System.IntPtr m) { Delegates.glLoadTransposeMatrixdARB(m); @@ -7843,6 +14490,18 @@ namespace OpenTK.OpenGL { Delegates.glLoadTransposeMatrixf(m); } + public static void LoadTransposeMatrixf(ref GLfloat m) + { + GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); + try + { + Delegates.glLoadTransposeMatrixf(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void LoadTransposeMatrixf(GLfloat[] m) { GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); @@ -7855,6 +14514,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void LoadTransposeMatrixfARB(ref GLfloat m) + { + GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); + try + { + Delegates.glLoadTransposeMatrixfARB(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void LoadTransposeMatrixfARB(System.IntPtr m) { Delegates.glLoadTransposeMatrixfARB(m); @@ -7879,6 +14550,10 @@ namespace OpenTK.OpenGL { Delegates.glLogicOp(opcode); } + public static void Map1d(Enums.MapTarget target, GLdouble u1, GLdouble u2, GLint stride, GLint order, System.IntPtr points) + { + Delegates.glMap1d(target, u1, u2, stride, order, points); + } public static void Map1d(Enums.MapTarget target, GLdouble u1, GLdouble u2, GLint stride, GLint order, GLdouble[] points) { GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); @@ -7891,9 +14566,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Map1d(Enums.MapTarget target, GLdouble u1, GLdouble u2, GLint stride, GLint order, System.IntPtr points) + public static void Map1d(Enums.MapTarget target, GLdouble u1, GLdouble u2, GLint stride, GLint order, ref GLdouble points) { - Delegates.glMap1d(target, u1, u2, stride, order, points); + GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMap1d(target, u1, u2, stride, order, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Map1f(Enums.MapTarget target, GLfloat u1, GLfloat u2, GLint stride, GLint order, System.IntPtr points) { @@ -7911,10 +14594,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Map1f(Enums.MapTarget target, GLfloat u1, GLfloat u2, GLint stride, GLint order, ref GLfloat points) + { + GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMap1f(target, u1, u2, stride, order, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Map2d(Enums.MapTarget target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, System.IntPtr points) { Delegates.glMap2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); } + public static void Map2d(Enums.MapTarget target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, ref GLdouble points) + { + GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMap2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Map2d(Enums.MapTarget target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble[] points) { GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); @@ -7939,6 +14646,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Map2f(Enums.MapTarget target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, ref GLfloat points) + { + GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glMap2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Map2f(Enums.MapTarget target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, System.IntPtr points) { Delegates.glMap2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); @@ -7987,6 +14706,18 @@ namespace OpenTK.OpenGL { return Delegates.glMapObjectBufferATI(buffer); } + public static void MapParameterfvNV(Enums.NV_evaluators target, Enums.NV_evaluators pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glMapParameterfvNV(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MapParameterfvNV(Enums.NV_evaluators target, Enums.NV_evaluators pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -8015,6 +14746,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MapParameterivNV(Enums.NV_evaluators target, Enums.NV_evaluators pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glMapParameterivNV(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MapParameterivNV(Enums.NV_evaluators target, Enums.NV_evaluators pname, System.IntPtr @params) { Delegates.glMapParameterivNV(target, pname, @params); @@ -8023,6 +14766,18 @@ namespace OpenTK.OpenGL { Delegates.glMaterialf(face, pname, param); } + public static void Materialfv(Enums.MaterialFace face, Enums.MaterialParameter pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glMaterialfv(face, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Materialfv(Enums.MaterialFace face, Enums.MaterialParameter pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -8043,9 +14798,17 @@ namespace OpenTK.OpenGL { Delegates.glMateriali(face, pname, param); } - public static void Materialiv(Enums.MaterialFace face, Enums.MaterialParameter pname, System.IntPtr @params) + public static void Materialiv(Enums.MaterialFace face, Enums.MaterialParameter pname, ref GLint @params) { - Delegates.glMaterialiv(face, pname, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glMaterialiv(face, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Materialiv(Enums.MaterialFace face, Enums.MaterialParameter pname, GLint[] @params) { @@ -8059,6 +14822,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Materialiv(Enums.MaterialFace face, Enums.MaterialParameter pname, System.IntPtr @params) + { + Delegates.glMaterialiv(face, pname, @params); + } public static void MatrixIndexPointerARB(GLint size, Enums.ARB_matrix_palette type, GLsizei stride, System.IntPtr pointer) { Delegates.glMatrixIndexPointerARB(size, type, stride, pointer); @@ -8091,6 +14858,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MatrixIndexubvARB(GLint size, ref GLubyte indices) + { + GCHandle h0 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexubvARB(size, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MatrixIndexuivARB(GLint size, GLuint[] indices) { GCHandle h0 = GCHandle.Alloc(indices, GCHandleType.Pinned); @@ -8103,14 +14882,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MatrixIndexuivARB(GLint size, ref GLuint indices) + { + GCHandle h0 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexuivARB(size, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MatrixIndexuivARB(GLint size, System.IntPtr indices) { Delegates.glMatrixIndexuivARB(size, indices); } - public static void MatrixIndexusvARB(GLint size, System.IntPtr indices) - { - Delegates.glMatrixIndexusvARB(size, indices); - } public static void MatrixIndexusvARB(GLint size, GLushort[] indices) { GCHandle h0 = GCHandle.Alloc(indices, GCHandleType.Pinned); @@ -8123,6 +14910,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MatrixIndexusvARB(GLint size, ref GLushort indices) + { + GCHandle h0 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMatrixIndexusvARB(size, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void MatrixIndexusvARB(GLint size, System.IntPtr indices) + { + Delegates.glMatrixIndexusvARB(size, indices); + } public static void MatrixMode(Enums.MatrixMode mode) { Delegates.glMatrixMode(mode); @@ -8135,32 +14938,104 @@ namespace OpenTK.OpenGL { Delegates.glMinmaxEXT(target, internalformat, sink); } - public static void MultiDrawArrays(Enums.BeginMode mode, [In, Out()] System.IntPtr first, [In, Out()] System.IntPtr count, GLsizei primcount) + public static void MultiDrawArrays(Enums.BeginMode mode, GLint[] first, out GLsizei count, GLsizei primcount) { - Delegates.glMultiDrawArrays(mode, first, count, primcount); + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + count = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArrays(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + count = (GLsizei)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiDrawArrays(Enums.BeginMode mode, out GLint first, [In, Out()] System.IntPtr count, GLsizei primcount) + { + first = default(GLint); + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + count = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArrays(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + first = (GLint)h0.Target; + count = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiDrawArrays(Enums.BeginMode mode, out GLint first, GLsizei[] count, GLsizei primcount) + { + first = default(GLint); + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArrays(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + first = (GLint)h0.Target; + } + finally + { + h0.Free(); + h1.Free(); + } } public static void MultiDrawArrays(Enums.BeginMode mode, GLint[] first, [In, Out()] System.IntPtr count, GLsizei primcount) { GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + count = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); try { - Delegates.glMultiDrawArrays(mode, h0.AddrOfPinnedObject(), count, primcount); + Delegates.glMultiDrawArrays(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + count = (System.IntPtr)h1.Target; } finally { h0.Free(); + h1.Free(); + } + } + public static void MultiDrawArrays(Enums.BeginMode mode, [In, Out()] System.IntPtr first, out GLsizei count, GLsizei primcount) + { + first = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + count = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArrays(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + first = (System.IntPtr)h0.Target; + count = (GLsizei)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); } } public static void MultiDrawArrays(Enums.BeginMode mode, [In, Out()] System.IntPtr first, GLsizei[] count, GLsizei primcount) { - GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + first = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); try { - Delegates.glMultiDrawArrays(mode, first, h0.AddrOfPinnedObject(), primcount); + Delegates.glMultiDrawArrays(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + first = (System.IntPtr)h0.Target; } finally { h0.Free(); + h1.Free(); } } public static void MultiDrawArrays(Enums.BeginMode mode, GLint[] first, GLsizei[] count, GLsizei primcount) @@ -8177,16 +15052,60 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void MultiDrawArraysEXT(Enums.BeginMode mode, GLint[] first, [In, Out()] System.IntPtr count, GLsizei primcount) + public static void MultiDrawArrays(Enums.BeginMode mode, [In, Out()] System.IntPtr first, [In, Out()] System.IntPtr count, GLsizei primcount) { + Delegates.glMultiDrawArrays(mode, first, count, primcount); + } + public static void MultiDrawArrays(Enums.BeginMode mode, out GLint first, out GLsizei count, GLsizei primcount) + { + first = default(GLint); GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + count = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); try { - Delegates.glMultiDrawArraysEXT(mode, h0.AddrOfPinnedObject(), count, primcount); + Delegates.glMultiDrawArrays(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + first = (GLint)h0.Target; + count = (GLsizei)h1.Target; } finally { h0.Free(); + h1.Free(); + } + } + public static void MultiDrawArraysEXT(Enums.BeginMode mode, [In, Out()] System.IntPtr first, out GLsizei count, GLsizei primcount) + { + first = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + count = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArraysEXT(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + first = (System.IntPtr)h0.Target; + count = (GLsizei)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiDrawArraysEXT(Enums.BeginMode mode, GLint[] first, [In, Out()] System.IntPtr count, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + count = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArraysEXT(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + count = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); } } public static void MultiDrawArraysEXT(Enums.BeginMode mode, GLint[] first, GLsizei[] count, GLsizei primcount) @@ -8209,14 +15128,154 @@ namespace OpenTK.OpenGL } public static void MultiDrawArraysEXT(Enums.BeginMode mode, [In, Out()] System.IntPtr first, GLsizei[] count, GLsizei primcount) { - GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + first = default(System.IntPtr); + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); try { - Delegates.glMultiDrawArraysEXT(mode, first, h0.AddrOfPinnedObject(), primcount); + Delegates.glMultiDrawArraysEXT(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + first = (System.IntPtr)h0.Target; } finally { h0.Free(); + h1.Free(); + } + } + public static void MultiDrawArraysEXT(Enums.BeginMode mode, out GLint first, GLsizei[] count, GLsizei primcount) + { + first = default(GLint); + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArraysEXT(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + first = (GLint)h0.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiDrawArraysEXT(Enums.BeginMode mode, out GLint first, out GLsizei count, GLsizei primcount) + { + first = default(GLint); + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + count = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArraysEXT(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + first = (GLint)h0.Target; + count = (GLsizei)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiDrawArraysEXT(Enums.BeginMode mode, GLint[] first, out GLsizei count, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + count = default(GLsizei); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArraysEXT(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + count = (GLsizei)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiDrawArraysEXT(Enums.BeginMode mode, out GLint first, [In, Out()] System.IntPtr count, GLsizei primcount) + { + first = default(GLint); + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + count = default(System.IntPtr); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawArraysEXT(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + first = (GLint)h0.Target; + count = (System.IntPtr)h1.Target; + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiDrawElementArrayAPPLE(Enums.BeginMode mode, ref GLint first, System.IntPtr count, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementArrayAPPLE(mode, h0.AddrOfPinnedObject(), count, primcount); + } + finally + { + h0.Free(); + } + } + public static void MultiDrawElementArrayAPPLE(Enums.BeginMode mode, GLint[] first, ref GLsizei count, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementArrayAPPLE(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiDrawElementArrayAPPLE(Enums.BeginMode mode, ref GLint first, ref GLsizei count, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementArrayAPPLE(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiDrawElementArrayAPPLE(Enums.BeginMode mode, ref GLint first, GLsizei[] count, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementArrayAPPLE(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiDrawElementArrayAPPLE(Enums.BeginMode mode, GLint[] first, GLsizei[] count, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementArrayAPPLE(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + } + finally + { + h0.Free(); + h1.Free(); } } public static void MultiDrawElementArrayAPPLE(Enums.BeginMode mode, System.IntPtr first, GLsizei[] count, GLsizei primcount) @@ -8247,20 +15306,46 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultiDrawElementArrayAPPLE(Enums.BeginMode mode, GLint[] first, GLsizei[] count, GLsizei primcount) + public static void MultiDrawElementArrayAPPLE(Enums.BeginMode mode, System.IntPtr first, ref GLsizei count, GLsizei primcount) { - GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementArrayAPPLE(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + Delegates.glMultiDrawElementArrayAPPLE(mode, first, h0.AddrOfPinnedObject(), primcount); } finally { h0.Free(); - h1.Free(); } } + public static void MultiDrawElements(Enums.BeginMode mode, System.IntPtr count, Enums.VERSION_1_4 type, ref object indices, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements(mode, count, type, h0.AddrOfPinnedObject(), primcount); + } + finally + { + h0.Free(); + } + } + public static void MultiDrawElements(Enums.BeginMode mode, GLsizei[] count, Enums.VERSION_1_4 type, System.IntPtr indices, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements(mode, h0.AddrOfPinnedObject(), type, indices, primcount); + } + finally + { + h0.Free(); + } + } + public static void MultiDrawElements(Enums.BeginMode mode, System.IntPtr count, Enums.VERSION_1_4 type, System.IntPtr indices, GLsizei primcount) + { + Delegates.glMultiDrawElements(mode, count, type, indices, primcount); + } public static void MultiDrawElements(Enums.BeginMode mode, System.IntPtr count, Enums.VERSION_1_4 type, object[] indices, GLsizei primcount) { GCHandle h0 = GCHandle.Alloc(indices, GCHandleType.Pinned); @@ -8287,11 +15372,49 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void MultiDrawElements(Enums.BeginMode mode, System.IntPtr count, Enums.VERSION_1_4 type, System.IntPtr indices, GLsizei primcount) + public static void MultiDrawElements(Enums.BeginMode mode, ref GLsizei count, Enums.VERSION_1_4 type, object[] indices, GLsizei primcount) { - Delegates.glMultiDrawElements(mode, count, type, indices, primcount); + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements(mode, h0.AddrOfPinnedObject(), type, h1.AddrOfPinnedObject(), primcount); + } + finally + { + h0.Free(); + h1.Free(); + } } - public static void MultiDrawElements(Enums.BeginMode mode, GLsizei[] count, Enums.VERSION_1_4 type, System.IntPtr indices, GLsizei primcount) + public static void MultiDrawElements(Enums.BeginMode mode, ref GLsizei count, Enums.VERSION_1_4 type, ref object indices, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements(mode, h0.AddrOfPinnedObject(), type, h1.AddrOfPinnedObject(), primcount); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiDrawElements(Enums.BeginMode mode, GLsizei[] count, Enums.VERSION_1_4 type, ref object indices, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElements(mode, h0.AddrOfPinnedObject(), type, h1.AddrOfPinnedObject(), primcount); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiDrawElements(Enums.BeginMode mode, ref GLsizei count, Enums.VERSION_1_4 type, System.IntPtr indices, GLsizei primcount) { GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); try @@ -8307,32 +15430,6 @@ namespace OpenTK.OpenGL { Delegates.glMultiDrawElementsEXT(mode, count, type, indices, primcount); } - public static void MultiDrawElementsEXT(Enums.BeginMode mode, GLsizei[] count, Enums.EXT_multi_draw_arrays type, IntPtr[] indices, GLsizei primcount) - { - GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT(mode, h0.AddrOfPinnedObject(), type, h1.AddrOfPinnedObject(), primcount); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void MultiDrawElementsEXT(Enums.BeginMode mode, System.IntPtr count, Enums.EXT_multi_draw_arrays type, IntPtr[] indices, GLsizei primcount) - { - GCHandle h0 = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiDrawElementsEXT(mode, count, type, h0.AddrOfPinnedObject(), primcount); - } - finally - { - h0.Free(); - } - } public static void MultiDrawElementsEXT(Enums.BeginMode mode, GLsizei[] count, Enums.EXT_multi_draw_arrays type, System.IntPtr indices, GLsizei primcount) { GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); @@ -8345,10 +15442,62 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiDrawElementsEXT(Enums.BeginMode mode, ref GLsizei count, Enums.EXT_multi_draw_arrays type, System.IntPtr indices, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawElementsEXT(mode, h0.AddrOfPinnedObject(), type, indices, primcount); + } + finally + { + h0.Free(); + } + } + public static void MultiDrawRangeElementArrayAPPLE(Enums.BeginMode mode, GLuint start, GLuint end, ref GLint first, ref GLsizei count, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawRangeElementArrayAPPLE(mode, start, end, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void MultiDrawRangeElementArrayAPPLE(Enums.BeginMode mode, GLuint start, GLuint end, System.IntPtr first, System.IntPtr count, GLsizei primcount) { Delegates.glMultiDrawRangeElementArrayAPPLE(mode, start, end, first, count, primcount); } + public static void MultiDrawRangeElementArrayAPPLE(Enums.BeginMode mode, GLuint start, GLuint end, ref GLint first, System.IntPtr count, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawRangeElementArrayAPPLE(mode, start, end, h0.AddrOfPinnedObject(), count, primcount); + } + finally + { + h0.Free(); + } + } + public static void MultiDrawRangeElementArrayAPPLE(Enums.BeginMode mode, GLuint start, GLuint end, ref GLint first, GLsizei[] count, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawRangeElementArrayAPPLE(mode, start, end, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void MultiDrawRangeElementArrayAPPLE(Enums.BeginMode mode, GLuint start, GLuint end, System.IntPtr first, GLsizei[] count, GLsizei primcount) { GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); @@ -8375,6 +15524,32 @@ namespace OpenTK.OpenGL h1.Free(); } } + public static void MultiDrawRangeElementArrayAPPLE(Enums.BeginMode mode, GLuint start, GLuint end, GLint[] first, ref GLsizei count, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawRangeElementArrayAPPLE(mode, start, end, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiDrawRangeElementArrayAPPLE(Enums.BeginMode mode, GLuint start, GLuint end, System.IntPtr first, ref GLsizei count, GLsizei primcount) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiDrawRangeElementArrayAPPLE(mode, start, end, first, h0.AddrOfPinnedObject(), primcount); + } + finally + { + h0.Free(); + } + } public static void MultiDrawRangeElementArrayAPPLE(Enums.BeginMode mode, GLuint start, GLuint end, GLint[] first, System.IntPtr count, GLsizei primcount) { GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); @@ -8387,22 +15562,60 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultiModeDrawArraysIBM(System.IntPtr mode, System.IntPtr first, System.IntPtr count, GLsizei primcount, GLint modestride) + public static void MultiModeDrawArraysIBM(System.IntPtr mode, ref GLint first, System.IntPtr count, GLsizei primcount, GLint modestride) { - Delegates.glMultiModeDrawArraysIBM(mode, first, count, primcount, modestride); - } - public static void MultiModeDrawArraysIBM(System.IntPtr mode, System.IntPtr first, GLsizei[] count, GLsizei primcount, GLint modestride) - { - GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); try { - Delegates.glMultiModeDrawArraysIBM(mode, first, h0.AddrOfPinnedObject(), primcount, modestride); + Delegates.glMultiModeDrawArraysIBM(mode, h0.AddrOfPinnedObject(), count, primcount, modestride); } finally { h0.Free(); } } + public static void MultiModeDrawArraysIBM(System.IntPtr mode, GLint[] first, ref GLsizei count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiModeDrawArraysIBM(System.IntPtr mode, ref GLint first, ref GLsizei count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiModeDrawArraysIBM(System.IntPtr mode, ref GLint first, GLsizei[] count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(mode, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void MultiModeDrawArraysIBM(System.IntPtr mode, GLint[] first, GLsizei[] count, GLsizei primcount, GLint modestride) { GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); @@ -8417,6 +15630,22 @@ namespace OpenTK.OpenGL h1.Free(); } } + public static void MultiModeDrawArraysIBM(System.IntPtr mode, System.IntPtr first, GLsizei[] count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(mode, first, h0.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + } + } + public static void MultiModeDrawArraysIBM(System.IntPtr mode, System.IntPtr first, System.IntPtr count, GLsizei primcount, GLint modestride) + { + Delegates.glMultiModeDrawArraysIBM(mode, first, count, primcount, modestride); + } public static void MultiModeDrawArraysIBM(System.IntPtr mode, GLint[] first, System.IntPtr count, GLsizei primcount, GLint modestride) { GCHandle h0 = GCHandle.Alloc(first, GCHandleType.Pinned); @@ -8429,6 +15658,162 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiModeDrawArraysIBM(System.IntPtr mode, System.IntPtr first, ref GLsizei count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(mode, first, h0.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + } + } + public static void MultiModeDrawArraysIBM(Enums.BeginMode[] mode, System.IntPtr first, System.IntPtr count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), first, count, primcount, modestride); + } + finally + { + h0.Free(); + } + } + public static void MultiModeDrawArraysIBM(ref Enums.BeginMode mode, GLint[] first, System.IntPtr count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(first, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), count, primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiModeDrawArraysIBM(ref Enums.BeginMode mode, GLint[] first, GLsizei[] count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void MultiModeDrawArraysIBM(ref Enums.BeginMode mode, System.IntPtr first, GLsizei[] count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), first, h1.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiModeDrawArraysIBM(ref Enums.BeginMode mode, System.IntPtr first, ref GLsizei count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), first, h1.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiModeDrawArraysIBM(ref Enums.BeginMode mode, ref GLint first, GLsizei[] count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void MultiModeDrawArraysIBM(ref Enums.BeginMode mode, ref GLint first, ref GLsizei count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void MultiModeDrawArraysIBM(ref Enums.BeginMode mode, GLint[] first, ref GLsizei count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void MultiModeDrawArraysIBM(ref Enums.BeginMode mode, ref GLint first, System.IntPtr count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(first, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), count, primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiModeDrawArraysIBM(ref Enums.BeginMode mode, System.IntPtr first, System.IntPtr count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), first, count, primcount, modestride); + } + finally + { + h0.Free(); + } + } public static void MultiModeDrawArraysIBM(Enums.BeginMode[] mode, GLint[] first, System.IntPtr count, GLsizei primcount, GLint modestride) { GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); @@ -8473,16 +15858,94 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void MultiModeDrawArraysIBM(Enums.BeginMode[] mode, System.IntPtr first, System.IntPtr count, GLsizei primcount, GLint modestride) + public static void MultiModeDrawArraysIBM(Enums.BeginMode[] mode, System.IntPtr first, ref GLsizei count, GLsizei primcount, GLint modestride) { GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); try { - Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), first, count, primcount, modestride); + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), first, h1.AddrOfPinnedObject(), primcount, modestride); } finally { h0.Free(); + h1.Free(); + } + } + public static void MultiModeDrawArraysIBM(Enums.BeginMode[] mode, GLint[] first, ref GLsizei count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void MultiModeDrawArraysIBM(Enums.BeginMode[] mode, ref GLint first, ref GLsizei count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void MultiModeDrawArraysIBM(Enums.BeginMode[] mode, ref GLint first, GLsizei[] count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(first, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void MultiModeDrawArraysIBM(Enums.BeginMode[] mode, ref GLint first, System.IntPtr count, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(first, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawArraysIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), count, primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiModeDrawElementsIBM(Enums.BeginMode[] mode, System.IntPtr count, Enums.IBM_multimode_draw_arrays type, object indices, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM(h0.AddrOfPinnedObject(), count, type, h1.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); } } public static void MultiModeDrawElementsIBM(Enums.BeginMode[] mode, GLsizei[] count, Enums.IBM_multimode_draw_arrays type, System.IntPtr indices, GLsizei primcount, GLint modestride) @@ -8511,6 +15974,168 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiModeDrawElementsIBM(System.IntPtr mode, ref GLsizei count, Enums.IBM_multimode_draw_arrays type, System.IntPtr indices, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM(mode, h0.AddrOfPinnedObject(), type, indices, primcount, modestride); + } + finally + { + h0.Free(); + } + } + public static void MultiModeDrawElementsIBM(System.IntPtr mode, ref GLsizei count, Enums.IBM_multimode_draw_arrays type, object indices, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM(mode, h0.AddrOfPinnedObject(), type, h1.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiModeDrawElementsIBM(Enums.BeginMode[] mode, ref GLsizei count, Enums.IBM_multimode_draw_arrays type, object indices, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), type, h2.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void MultiModeDrawElementsIBM(ref Enums.BeginMode mode, System.IntPtr count, Enums.IBM_multimode_draw_arrays type, System.IntPtr indices, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM(h0.AddrOfPinnedObject(), count, type, indices, primcount, modestride); + } + finally + { + h0.Free(); + } + } + public static void MultiModeDrawElementsIBM(ref Enums.BeginMode mode, ref GLsizei count, Enums.IBM_multimode_draw_arrays type, object indices, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), type, h2.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void MultiModeDrawElementsIBM(Enums.BeginMode[] mode, GLsizei[] count, Enums.IBM_multimode_draw_arrays type, object indices, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), type, h2.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void MultiModeDrawElementsIBM(Enums.BeginMode[] mode, ref GLsizei count, Enums.IBM_multimode_draw_arrays type, System.IntPtr indices, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), type, indices, primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiModeDrawElementsIBM(System.IntPtr mode, GLsizei[] count, Enums.IBM_multimode_draw_arrays type, object indices, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM(mode, h0.AddrOfPinnedObject(), type, h1.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiModeDrawElementsIBM(ref Enums.BeginMode mode, GLsizei[] count, Enums.IBM_multimode_draw_arrays type, object indices, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), type, h2.AddrOfPinnedObject(), primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void MultiModeDrawElementsIBM(ref Enums.BeginMode mode, GLsizei[] count, Enums.IBM_multimode_draw_arrays type, System.IntPtr indices, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), type, indices, primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void MultiModeDrawElementsIBM(System.IntPtr mode, System.IntPtr count, Enums.IBM_multimode_draw_arrays type, System.IntPtr indices, GLsizei primcount, GLint modestride) + { + Delegates.glMultiModeDrawElementsIBM(mode, count, type, indices, primcount, modestride); + } + public static void MultiModeDrawElementsIBM(ref Enums.BeginMode mode, ref GLsizei count, Enums.IBM_multimode_draw_arrays type, System.IntPtr indices, GLsizei primcount, GLint modestride) + { + GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); + try + { + Delegates.glMultiModeDrawElementsIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), type, indices, primcount, modestride); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void MultiModeDrawElementsIBM(System.IntPtr mode, GLsizei[] count, Enums.IBM_multimode_draw_arrays type, System.IntPtr indices, GLsizei primcount, GLint modestride) { GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); @@ -8535,37 +16160,7 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultiModeDrawElementsIBM(System.IntPtr mode, GLsizei[] count, Enums.IBM_multimode_draw_arrays type, object indices, GLsizei primcount, GLint modestride) - { - GCHandle h0 = GCHandle.Alloc(count, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM(mode, h0.AddrOfPinnedObject(), type, h1.AddrOfPinnedObject(), primcount, modestride); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void MultiModeDrawElementsIBM(Enums.BeginMode[] mode, GLsizei[] count, Enums.IBM_multimode_draw_arrays type, object indices, GLsizei primcount, GLint modestride) - { - GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(count, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(indices, GCHandleType.Pinned); - try - { - Delegates.glMultiModeDrawElementsIBM(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), type, h2.AddrOfPinnedObject(), primcount, modestride); - } - finally - { - h0.Free(); - h1.Free(); - h2.Free(); - } - } - public static void MultiModeDrawElementsIBM(Enums.BeginMode[] mode, System.IntPtr count, Enums.IBM_multimode_draw_arrays type, object indices, GLsizei primcount, GLint modestride) + public static void MultiModeDrawElementsIBM(ref Enums.BeginMode mode, System.IntPtr count, Enums.IBM_multimode_draw_arrays type, object indices, GLsizei primcount, GLint modestride) { GCHandle h0 = GCHandle.Alloc(mode, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(indices, GCHandleType.Pinned); @@ -8579,10 +16174,6 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void MultiModeDrawElementsIBM(System.IntPtr mode, System.IntPtr count, Enums.IBM_multimode_draw_arrays type, System.IntPtr indices, GLsizei primcount, GLint modestride) - { - Delegates.glMultiModeDrawElementsIBM(mode, count, type, indices, primcount, modestride); - } public static void MultiTexCoord1d(Enums.VERSION_1_3 target, GLdouble s) { Delegates.glMultiTexCoord1d(target, s); @@ -8607,9 +16198,17 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord1dv(target, v); } - public static void MultiTexCoord1dvARB(Enums.ARB_multitexture target, System.IntPtr v) + public static void MultiTexCoord1dv(Enums.VERSION_1_3 target, ref GLdouble v) { - Delegates.glMultiTexCoord1dvARB(target, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord1dv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultiTexCoord1dvARB(Enums.ARB_multitexture target, GLdouble[] v) { @@ -8623,6 +16222,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord1dvARB(Enums.ARB_multitexture target, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord1dvARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void MultiTexCoord1dvARB(Enums.ARB_multitexture target, System.IntPtr v) + { + Delegates.glMultiTexCoord1dvARB(target, v); + } public static void MultiTexCoord1f(Enums.VERSION_1_3 target, GLfloat s) { Delegates.glMultiTexCoord1f(target, s); @@ -8631,10 +16246,6 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord1fARB(target, s); } - public static void MultiTexCoord1fv(Enums.VERSION_1_3 target, System.IntPtr v) - { - Delegates.glMultiTexCoord1fv(target, v); - } public static void MultiTexCoord1fv(Enums.VERSION_1_3 target, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -8647,6 +16258,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord1fv(Enums.VERSION_1_3 target, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord1fv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void MultiTexCoord1fv(Enums.VERSION_1_3 target, System.IntPtr v) + { + Delegates.glMultiTexCoord1fv(target, v); + } + public static void MultiTexCoord1fvARB(Enums.ARB_multitexture target, System.IntPtr v) + { + Delegates.glMultiTexCoord1fvARB(target, v); + } public static void MultiTexCoord1fvARB(Enums.ARB_multitexture target, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -8659,9 +16290,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultiTexCoord1fvARB(Enums.ARB_multitexture target, System.IntPtr v) + public static void MultiTexCoord1fvARB(Enums.ARB_multitexture target, ref GLfloat v) { - Delegates.glMultiTexCoord1fvARB(target, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord1fvARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultiTexCoord1hNV(Enums.NV_half_float target, GLhalfNV s) { @@ -8679,6 +16318,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord1hvNV(Enums.NV_half_float target, ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord1hvNV(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultiTexCoord1hvNV(Enums.NV_half_float target, System.IntPtr v) { Delegates.glMultiTexCoord1hvNV(target, v); @@ -8691,10 +16342,6 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord1iARB(target, s); } - public static void MultiTexCoord1iv(Enums.VERSION_1_3 target, System.IntPtr v) - { - Delegates.glMultiTexCoord1iv(target, v); - } public static void MultiTexCoord1iv(Enums.VERSION_1_3 target, GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -8707,6 +16354,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord1iv(Enums.VERSION_1_3 target, System.IntPtr v) + { + Delegates.glMultiTexCoord1iv(target, v); + } + public static void MultiTexCoord1iv(Enums.VERSION_1_3 target, ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord1iv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void MultiTexCoord1ivARB(Enums.ARB_multitexture target, System.IntPtr v) + { + Delegates.glMultiTexCoord1ivARB(target, v); + } + public static void MultiTexCoord1ivARB(Enums.ARB_multitexture target, ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord1ivARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultiTexCoord1ivARB(Enums.ARB_multitexture target, GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -8719,10 +16398,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultiTexCoord1ivARB(Enums.ARB_multitexture target, System.IntPtr v) - { - Delegates.glMultiTexCoord1ivARB(target, v); - } public static void MultiTexCoord1s(Enums.VERSION_1_3 target, GLshort s) { Delegates.glMultiTexCoord1s(target, s); @@ -8731,6 +16406,10 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord1sARB(target, s); } + public static void MultiTexCoord1sv(Enums.VERSION_1_3 target, System.IntPtr v) + { + Delegates.glMultiTexCoord1sv(target, v); + } public static void MultiTexCoord1sv(Enums.VERSION_1_3 target, GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -8743,13 +16422,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultiTexCoord1sv(Enums.VERSION_1_3 target, System.IntPtr v) + public static void MultiTexCoord1sv(Enums.VERSION_1_3 target, ref GLshort v) { - Delegates.glMultiTexCoord1sv(target, v); - } - public static void MultiTexCoord1svARB(Enums.ARB_multitexture target, System.IntPtr v) - { - Delegates.glMultiTexCoord1svARB(target, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord1sv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultiTexCoord1svARB(Enums.ARB_multitexture target, GLshort[] v) { @@ -8763,6 +16446,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord1svARB(Enums.ARB_multitexture target, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord1svARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void MultiTexCoord1svARB(Enums.ARB_multitexture target, System.IntPtr v) + { + Delegates.glMultiTexCoord1svARB(target, v); + } public static void MultiTexCoord2d(Enums.VERSION_1_3 target, GLdouble s, GLdouble t) { Delegates.glMultiTexCoord2d(target, s, t); @@ -8787,6 +16486,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord2dv(Enums.VERSION_1_3 target, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord2dv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void MultiTexCoord2dvARB(Enums.ARB_multitexture target, System.IntPtr v) + { + Delegates.glMultiTexCoord2dvARB(target, v); + } + public static void MultiTexCoord2dvARB(Enums.ARB_multitexture target, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord2dvARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultiTexCoord2dvARB(Enums.ARB_multitexture target, GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -8799,10 +16526,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultiTexCoord2dvARB(Enums.ARB_multitexture target, System.IntPtr v) - { - Delegates.glMultiTexCoord2dvARB(target, v); - } public static void MultiTexCoord2f(Enums.VERSION_1_3 target, GLfloat s, GLfloat t) { Delegates.glMultiTexCoord2f(target, s, t); @@ -8811,9 +16534,17 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord2fARB(target, s, t); } - public static void MultiTexCoord2fv(Enums.VERSION_1_3 target, System.IntPtr v) + public static void MultiTexCoord2fv(Enums.VERSION_1_3 target, ref GLfloat v) { - Delegates.glMultiTexCoord2fv(target, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord2fv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultiTexCoord2fv(Enums.VERSION_1_3 target, GLfloat[] v) { @@ -8827,6 +16558,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord2fv(Enums.VERSION_1_3 target, System.IntPtr v) + { + Delegates.glMultiTexCoord2fv(target, v); + } public static void MultiTexCoord2fvARB(Enums.ARB_multitexture target, System.IntPtr v) { Delegates.glMultiTexCoord2fvARB(target, v); @@ -8843,6 +16578,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord2fvARB(Enums.ARB_multitexture target, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord2fvARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultiTexCoord2hNV(Enums.NV_half_float target, GLhalfNV s, GLhalfNV t) { Delegates.glMultiTexCoord2hNV(target, s, t); @@ -8863,6 +16610,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord2hvNV(Enums.NV_half_float target, ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord2hvNV(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultiTexCoord2i(Enums.VERSION_1_3 target, GLint s, GLint t) { Delegates.glMultiTexCoord2i(target, s, t); @@ -8871,7 +16630,7 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord2iARB(target, s, t); } - public static void MultiTexCoord2iv(Enums.VERSION_1_3 target, GLint[] v) + public static void MultiTexCoord2iv(Enums.VERSION_1_3 target, ref GLint v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -8887,6 +16646,22 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord2iv(target, v); } + public static void MultiTexCoord2iv(Enums.VERSION_1_3 target, GLint[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord2iv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void MultiTexCoord2ivARB(Enums.ARB_multitexture target, System.IntPtr v) + { + Delegates.glMultiTexCoord2ivARB(target, v); + } public static void MultiTexCoord2ivARB(Enums.ARB_multitexture target, GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -8899,9 +16674,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultiTexCoord2ivARB(Enums.ARB_multitexture target, System.IntPtr v) + public static void MultiTexCoord2ivARB(Enums.ARB_multitexture target, ref GLint v) { - Delegates.glMultiTexCoord2ivARB(target, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord2ivARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultiTexCoord2s(Enums.VERSION_1_3 target, GLshort s, GLshort t) { @@ -8911,9 +16694,17 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord2sARB(target, s, t); } - public static void MultiTexCoord2sv(Enums.VERSION_1_3 target, System.IntPtr v) + public static void MultiTexCoord2sv(Enums.VERSION_1_3 target, ref GLshort v) { - Delegates.glMultiTexCoord2sv(target, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord2sv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultiTexCoord2sv(Enums.VERSION_1_3 target, GLshort[] v) { @@ -8927,6 +16718,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord2sv(Enums.VERSION_1_3 target, System.IntPtr v) + { + Delegates.glMultiTexCoord2sv(target, v); + } + public static void MultiTexCoord2svARB(Enums.ARB_multitexture target, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord2svARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultiTexCoord2svARB(Enums.ARB_multitexture target, GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -8951,6 +16758,18 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord3dARB(target, s, t, r); } + public static void MultiTexCoord3dv(Enums.VERSION_1_3 target, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord3dv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultiTexCoord3dv(Enums.VERSION_1_3 target, GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -8967,6 +16786,18 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord3dv(target, v); } + public static void MultiTexCoord3dvARB(Enums.ARB_multitexture target, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord3dvARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultiTexCoord3dvARB(Enums.ARB_multitexture target, System.IntPtr v) { Delegates.glMultiTexCoord3dvARB(target, v); @@ -8991,9 +16822,17 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord3fARB(target, s, t, r); } - public static void MultiTexCoord3fv(Enums.VERSION_1_3 target, System.IntPtr v) + public static void MultiTexCoord3fv(Enums.VERSION_1_3 target, ref GLfloat v) { - Delegates.glMultiTexCoord3fv(target, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord3fv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultiTexCoord3fv(Enums.VERSION_1_3 target, GLfloat[] v) { @@ -9007,6 +16846,14 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord3fv(Enums.VERSION_1_3 target, System.IntPtr v) + { + Delegates.glMultiTexCoord3fv(target, v); + } + public static void MultiTexCoord3fvARB(Enums.ARB_multitexture target, System.IntPtr v) + { + Delegates.glMultiTexCoord3fvARB(target, v); + } public static void MultiTexCoord3fvARB(Enums.ARB_multitexture target, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -9019,17 +16866,33 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultiTexCoord3fvARB(Enums.ARB_multitexture target, System.IntPtr v) + public static void MultiTexCoord3fvARB(Enums.ARB_multitexture target, ref GLfloat v) { - Delegates.glMultiTexCoord3fvARB(target, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord3fvARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultiTexCoord3hNV(Enums.NV_half_float target, GLhalfNV s, GLhalfNV t, GLhalfNV r) { Delegates.glMultiTexCoord3hNV(target, s, t, r); } - public static void MultiTexCoord3hvNV(Enums.NV_half_float target, System.IntPtr v) + public static void MultiTexCoord3hvNV(Enums.NV_half_float target, ref GLhalfNV v) { - Delegates.glMultiTexCoord3hvNV(target, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord3hvNV(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultiTexCoord3hvNV(Enums.NV_half_float target, GLhalfNV[] v) { @@ -9043,6 +16906,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord3hvNV(Enums.NV_half_float target, System.IntPtr v) + { + Delegates.glMultiTexCoord3hvNV(target, v); + } public static void MultiTexCoord3i(Enums.VERSION_1_3 target, GLint s, GLint t, GLint r) { Delegates.glMultiTexCoord3i(target, s, t, r); @@ -9051,6 +16918,18 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord3iARB(target, s, t, r); } + public static void MultiTexCoord3iv(Enums.VERSION_1_3 target, ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord3iv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultiTexCoord3iv(Enums.VERSION_1_3 target, System.IntPtr v) { Delegates.glMultiTexCoord3iv(target, v); @@ -9083,6 +16962,18 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord3ivARB(target, v); } + public static void MultiTexCoord3ivARB(Enums.ARB_multitexture target, ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord3ivARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultiTexCoord3s(Enums.VERSION_1_3 target, GLshort s, GLshort t, GLshort r) { Delegates.glMultiTexCoord3s(target, s, t, r); @@ -9091,6 +16982,10 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord3sARB(target, s, t, r); } + public static void MultiTexCoord3sv(Enums.VERSION_1_3 target, System.IntPtr v) + { + Delegates.glMultiTexCoord3sv(target, v); + } public static void MultiTexCoord3sv(Enums.VERSION_1_3 target, GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -9103,15 +16998,35 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultiTexCoord3sv(Enums.VERSION_1_3 target, System.IntPtr v) + public static void MultiTexCoord3sv(Enums.VERSION_1_3 target, ref GLshort v) { - Delegates.glMultiTexCoord3sv(target, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord3sv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void MultiTexCoord3svARB(Enums.ARB_multitexture target, GLshort[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord3svARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultiTexCoord3svARB(Enums.ARB_multitexture target, System.IntPtr v) { Delegates.glMultiTexCoord3svARB(target, v); } - public static void MultiTexCoord3svARB(Enums.ARB_multitexture target, GLshort[] v) + public static void MultiTexCoord3svARB(Enums.ARB_multitexture target, ref GLshort v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -9131,10 +17046,6 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord4dARB(target, s, t, r, q); } - public static void MultiTexCoord4dv(Enums.VERSION_1_3 target, System.IntPtr v) - { - Delegates.glMultiTexCoord4dv(target, v); - } public static void MultiTexCoord4dv(Enums.VERSION_1_3 target, GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -9147,6 +17058,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord4dv(Enums.VERSION_1_3 target, System.IntPtr v) + { + Delegates.glMultiTexCoord4dv(target, v); + } + public static void MultiTexCoord4dv(Enums.VERSION_1_3 target, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord4dv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void MultiTexCoord4dvARB(Enums.ARB_multitexture target, System.IntPtr v) + { + Delegates.glMultiTexCoord4dvARB(target, v); + } + public static void MultiTexCoord4dvARB(Enums.ARB_multitexture target, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord4dvARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultiTexCoord4dvARB(Enums.ARB_multitexture target, GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -9159,10 +17102,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultiTexCoord4dvARB(Enums.ARB_multitexture target, System.IntPtr v) - { - Delegates.glMultiTexCoord4dvARB(target, v); - } public static void MultiTexCoord4f(Enums.VERSION_1_3 target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { Delegates.glMultiTexCoord4f(target, s, t, r, q); @@ -9171,9 +17110,17 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord4fARB(target, s, t, r, q); } - public static void MultiTexCoord4fv(Enums.VERSION_1_3 target, System.IntPtr v) + public static void MultiTexCoord4fv(Enums.VERSION_1_3 target, ref GLfloat v) { - Delegates.glMultiTexCoord4fv(target, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord4fv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultiTexCoord4fv(Enums.VERSION_1_3 target, GLfloat[] v) { @@ -9187,6 +17134,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord4fv(Enums.VERSION_1_3 target, System.IntPtr v) + { + Delegates.glMultiTexCoord4fv(target, v); + } + public static void MultiTexCoord4fvARB(Enums.ARB_multitexture target, System.IntPtr v) + { + Delegates.glMultiTexCoord4fvARB(target, v); + } + public static void MultiTexCoord4fvARB(Enums.ARB_multitexture target, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord4fvARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultiTexCoord4fvARB(Enums.ARB_multitexture target, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -9199,14 +17166,14 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultiTexCoord4fvARB(Enums.ARB_multitexture target, System.IntPtr v) - { - Delegates.glMultiTexCoord4fvARB(target, v); - } public static void MultiTexCoord4hNV(Enums.NV_half_float target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q) { Delegates.glMultiTexCoord4hNV(target, s, t, r, q); } + public static void MultiTexCoord4hvNV(Enums.NV_half_float target, System.IntPtr v) + { + Delegates.glMultiTexCoord4hvNV(target, v); + } public static void MultiTexCoord4hvNV(Enums.NV_half_float target, GLhalfNV[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -9219,9 +17186,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultiTexCoord4hvNV(Enums.NV_half_float target, System.IntPtr v) + public static void MultiTexCoord4hvNV(Enums.NV_half_float target, ref GLhalfNV v) { - Delegates.glMultiTexCoord4hvNV(target, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord4hvNV(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultiTexCoord4i(Enums.VERSION_1_3 target, GLint s, GLint t, GLint r, GLint q) { @@ -9231,7 +17206,7 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord4iARB(target, s, t, r, q); } - public static void MultiTexCoord4iv(Enums.VERSION_1_3 target, GLint[] v) + public static void MultiTexCoord4iv(Enums.VERSION_1_3 target, ref GLint v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -9247,9 +17222,29 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord4iv(target, v); } - public static void MultiTexCoord4ivARB(Enums.ARB_multitexture target, System.IntPtr v) + public static void MultiTexCoord4iv(Enums.VERSION_1_3 target, GLint[] v) { - Delegates.glMultiTexCoord4ivARB(target, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord4iv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void MultiTexCoord4ivARB(Enums.ARB_multitexture target, ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord4ivARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultiTexCoord4ivARB(Enums.ARB_multitexture target, GLint[] v) { @@ -9263,6 +17258,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord4ivARB(Enums.ARB_multitexture target, System.IntPtr v) + { + Delegates.glMultiTexCoord4ivARB(target, v); + } public static void MultiTexCoord4s(Enums.VERSION_1_3 target, GLshort s, GLshort t, GLshort r, GLshort q) { Delegates.glMultiTexCoord4s(target, s, t, r, q); @@ -9287,6 +17286,18 @@ namespace OpenTK.OpenGL { Delegates.glMultiTexCoord4sv(target, v); } + public static void MultiTexCoord4sv(Enums.VERSION_1_3 target, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord4sv(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultiTexCoord4svARB(Enums.ARB_multitexture target, System.IntPtr v) { Delegates.glMultiTexCoord4svARB(target, v); @@ -9303,6 +17314,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultiTexCoord4svARB(Enums.ARB_multitexture target, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glMultiTexCoord4svARB(target, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void MultMatrixd(System.IntPtr m) + { + Delegates.glMultMatrixd(m); + } public static void MultMatrixd(GLdouble[] m) { GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); @@ -9315,9 +17342,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultMatrixd(System.IntPtr m) + public static void MultMatrixd(ref GLdouble m) { - Delegates.glMultMatrixd(m); + GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); + try + { + Delegates.glMultMatrixd(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void MultMatrixf(ref GLfloat m) + { + GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); + try + { + Delegates.glMultMatrixf(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultMatrixf(GLfloat[] m) { @@ -9335,10 +17382,6 @@ namespace OpenTK.OpenGL { Delegates.glMultMatrixf(m); } - public static void MultTransposeMatrixd(System.IntPtr m) - { - Delegates.glMultTransposeMatrixd(m); - } public static void MultTransposeMatrixd(GLdouble[] m) { GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); @@ -9351,6 +17394,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultTransposeMatrixd(System.IntPtr m) + { + Delegates.glMultTransposeMatrixd(m); + } + public static void MultTransposeMatrixd(ref GLdouble m) + { + GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); + try + { + Delegates.glMultTransposeMatrixd(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void MultTransposeMatrixdARB(System.IntPtr m) + { + Delegates.glMultTransposeMatrixdARB(m); + } public static void MultTransposeMatrixdARB(GLdouble[] m) { GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); @@ -9363,13 +17426,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void MultTransposeMatrixdARB(System.IntPtr m) + public static void MultTransposeMatrixdARB(ref GLdouble m) { - Delegates.glMultTransposeMatrixdARB(m); + GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); + try + { + Delegates.glMultTransposeMatrixdARB(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } - public static void MultTransposeMatrixf(System.IntPtr m) + public static void MultTransposeMatrixf(ref GLfloat m) { - Delegates.glMultTransposeMatrixf(m); + GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); + try + { + Delegates.glMultTransposeMatrixf(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void MultTransposeMatrixf(GLfloat[] m) { @@ -9383,6 +17462,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void MultTransposeMatrixf(System.IntPtr m) + { + Delegates.glMultTransposeMatrixf(m); + } + public static void MultTransposeMatrixfARB(ref GLfloat m) + { + GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); + try + { + Delegates.glMultTransposeMatrixfARB(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void MultTransposeMatrixfARB(GLfloat[] m) { GCHandle h0 = GCHandle.Alloc(m, GCHandleType.Pinned); @@ -9403,26 +17498,44 @@ namespace OpenTK.OpenGL { Delegates.glNewList(list, mode); } + public static GLuint NewObjectBufferATI(GLsizei size, System.IntPtr pointer, Enums.ATI_vertex_array_object usage) + { + return Delegates.glNewObjectBufferATI(size, pointer, usage); + } public static GLuint NewObjectBufferATI(GLsizei size, object pointer, Enums.ATI_vertex_array_object usage) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - return Delegates.glNewObjectBufferATI(size, h0.AddrOfPinnedObject(), usage); + GLuint retval; + retval = Delegates.glNewObjectBufferATI(size, h0.AddrOfPinnedObject(), usage); + return retval; } finally { h0.Free(); } } - public static GLuint NewObjectBufferATI(GLsizei size, System.IntPtr pointer, Enums.ATI_vertex_array_object usage) - { - return Delegates.glNewObjectBufferATI(size, pointer, usage); - } public static void Normal3b(GLbyte nx, GLbyte ny, GLbyte nz) { Delegates.glNormal3b(nx, ny, nz); } + public static void Normal3bv(System.IntPtr v) + { + Delegates.glNormal3bv(v); + } + public static void Normal3bv(ref GLbyte v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glNormal3bv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Normal3bv(GLbyte[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -9435,10 +17548,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Normal3bv(System.IntPtr v) - { - Delegates.glNormal3bv(v); - } public static void Normal3d(GLdouble nx, GLdouble ny, GLdouble nz) { Delegates.glNormal3d(nx, ny, nz); @@ -9447,6 +17556,18 @@ namespace OpenTK.OpenGL { Delegates.glNormal3dv(v); } + public static void Normal3dv(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glNormal3dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Normal3dv(GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -9463,7 +17584,7 @@ namespace OpenTK.OpenGL { Delegates.glNormal3f(nx, ny, nz); } - public static void Normal3fv(GLfloat[] v) + public static void Normal3fv(ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -9479,11 +17600,23 @@ namespace OpenTK.OpenGL { Delegates.glNormal3fv(v); } + public static void Normal3fv(GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glNormal3fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Normal3fVertex3fSUN(GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) { Delegates.glNormal3fVertex3fSUN(nx, ny, nz, x, y, z); } - public static void Normal3fVertex3fvSUN(System.IntPtr n, GLfloat[] v) + public static void Normal3fVertex3fvSUN(System.IntPtr n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -9495,6 +17628,58 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Normal3fVertex3fvSUN(GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void Normal3fVertex3fvSUN(ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Normal3fVertex3fvSUN(ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Normal3fVertex3fvSUN(ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } public static void Normal3fVertex3fvSUN(GLfloat[] n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); @@ -9509,26 +17694,52 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void Normal3fVertex3fvSUN(System.IntPtr n, System.IntPtr v) - { - Delegates.glNormal3fVertex3fvSUN(n, v); - } - public static void Normal3fVertex3fvSUN(GLfloat[] n, System.IntPtr v) + public static void Normal3fVertex3fvSUN(GLfloat[] n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), v); + Delegates.glNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Normal3fVertex3fvSUN(System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glNormal3fVertex3fvSUN(n, h0.AddrOfPinnedObject()); } finally { h0.Free(); } } + public static void Normal3fVertex3fvSUN(System.IntPtr n, System.IntPtr v) + { + Delegates.glNormal3fVertex3fvSUN(n, v); + } public static void Normal3hNV(GLhalfNV nx, GLhalfNV ny, GLhalfNV nz) { Delegates.glNormal3hNV(nx, ny, nz); } + public static void Normal3hvNV(ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glNormal3hvNV(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Normal3hvNV(GLhalfNV[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -9549,6 +17760,10 @@ namespace OpenTK.OpenGL { Delegates.glNormal3i(nx, ny, nz); } + public static void Normal3iv(System.IntPtr v) + { + Delegates.glNormal3iv(v); + } public static void Normal3iv(GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -9561,14 +17776,34 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Normal3iv(System.IntPtr v) + public static void Normal3iv(ref GLint v) { - Delegates.glNormal3iv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glNormal3iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Normal3s(GLshort nx, GLshort ny, GLshort nz) { Delegates.glNormal3s(nx, ny, nz); } + public static void Normal3sv(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glNormal3sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Normal3sv(GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -9585,6 +17820,10 @@ namespace OpenTK.OpenGL { Delegates.glNormal3sv(v); } + public static void NormalPointer(Enums.NormalPointerType type, GLsizei stride, System.IntPtr pointer) + { + Delegates.glNormalPointer(type, stride, pointer); + } public static void NormalPointer(Enums.NormalPointerType type, GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -9597,10 +17836,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void NormalPointer(Enums.NormalPointerType type, GLsizei stride, System.IntPtr pointer) - { - Delegates.glNormalPointer(type, stride, pointer); - } public static void NormalPointerEXT(Enums.NormalPointerType type, GLsizei stride, GLsizei count, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -9617,34 +17852,10 @@ namespace OpenTK.OpenGL { Delegates.glNormalPointerEXT(type, stride, count, pointer); } - public static void NormalPointerListIBM(Enums.NormalPointerType type, GLint stride, IntPtr[] pointer, GLint ptrstride) - { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointerListIBM(type, stride, h0.AddrOfPinnedObject(), ptrstride); - } - finally - { - h0.Free(); - } - } public static void NormalPointerListIBM(Enums.NormalPointerType type, GLint stride, System.IntPtr pointer, GLint ptrstride) { Delegates.glNormalPointerListIBM(type, stride, pointer, ptrstride); } - public static void NormalPointervINTEL(Enums.NormalPointerType type, IntPtr[] pointer) - { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glNormalPointervINTEL(type, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } public static void NormalPointervINTEL(Enums.NormalPointerType type, System.IntPtr pointer) { Delegates.glNormalPointervINTEL(type, pointer); @@ -9665,6 +17876,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void NormalStream3bvATI(Enums.ATI_vertex_streams stream, ref GLbyte coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glNormalStream3bvATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void NormalStream3bvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) { Delegates.glNormalStream3bvATI(stream, coords); @@ -9673,10 +17896,6 @@ namespace OpenTK.OpenGL { Delegates.glNormalStream3dATI(stream, nx, ny, nz); } - public static void NormalStream3dvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) - { - Delegates.glNormalStream3dvATI(stream, coords); - } public static void NormalStream3dvATI(Enums.ATI_vertex_streams stream, GLdouble[] coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); @@ -9689,10 +17908,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void NormalStream3dvATI(Enums.ATI_vertex_streams stream, ref GLdouble coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glNormalStream3dvATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void NormalStream3dvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + { + Delegates.glNormalStream3dvATI(stream, coords); + } public static void NormalStream3fATI(Enums.ATI_vertex_streams stream, GLfloat nx, GLfloat ny, GLfloat nz) { Delegates.glNormalStream3fATI(stream, nx, ny, nz); } + public static void NormalStream3fvATI(Enums.ATI_vertex_streams stream, ref GLfloat coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glNormalStream3fvATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void NormalStream3fvATI(Enums.ATI_vertex_streams stream, GLfloat[] coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); @@ -9729,14 +17976,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void NormalStream3ivATI(Enums.ATI_vertex_streams stream, ref GLint coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glNormalStream3ivATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void NormalStream3sATI(Enums.ATI_vertex_streams stream, GLshort nx, GLshort ny, GLshort nz) { Delegates.glNormalStream3sATI(stream, nx, ny, nz); } - public static void NormalStream3svATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) - { - Delegates.glNormalStream3svATI(stream, coords); - } public static void NormalStream3svATI(Enums.ATI_vertex_streams stream, GLshort[] coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); @@ -9749,6 +18004,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void NormalStream3svATI(Enums.ATI_vertex_streams stream, ref GLshort coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glNormalStream3svATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void NormalStream3svATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + { + Delegates.glNormalStream3svATI(stream, coords); + } public static void Ortho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { Delegates.glOrtho(left, right, bottom, top, zNear, zFar); @@ -9777,10 +18048,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void PixelMapfv(Enums.PixelMap map, GLint mapsize, System.IntPtr values) - { - Delegates.glPixelMapfv(map, mapsize, values); - } public static void PixelMapfv(Enums.PixelMap map, GLint mapsize, GLfloat[] values) { GCHandle h0 = GCHandle.Alloc(values, GCHandleType.Pinned); @@ -9793,6 +18060,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void PixelMapfv(Enums.PixelMap map, GLint mapsize, ref GLfloat values) + { + GCHandle h0 = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glPixelMapfv(map, mapsize, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void PixelMapfv(Enums.PixelMap map, GLint mapsize, System.IntPtr values) + { + Delegates.glPixelMapfv(map, mapsize, values); + } + public static void PixelMapuiv(Enums.PixelMap map, GLint mapsize, System.IntPtr values) + { + Delegates.glPixelMapuiv(map, mapsize, values); + } public static void PixelMapuiv(Enums.PixelMap map, GLint mapsize, GLuint[] values) { GCHandle h0 = GCHandle.Alloc(values, GCHandleType.Pinned); @@ -9805,13 +18092,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void PixelMapuiv(Enums.PixelMap map, GLint mapsize, System.IntPtr values) + public static void PixelMapuiv(Enums.PixelMap map, GLint mapsize, ref GLuint values) { - Delegates.glPixelMapuiv(map, mapsize, values); + GCHandle h0 = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glPixelMapuiv(map, mapsize, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } - public static void PixelMapusv(Enums.PixelMap map, GLint mapsize, System.IntPtr values) + public static void PixelMapusv(Enums.PixelMap map, GLint mapsize, ref GLushort values) { - Delegates.glPixelMapusv(map, mapsize, values); + GCHandle h0 = GCHandle.Alloc(values, GCHandleType.Pinned); + try + { + Delegates.glPixelMapusv(map, mapsize, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void PixelMapusv(Enums.PixelMap map, GLint mapsize, GLushort[] values) { @@ -9825,6 +18128,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void PixelMapusv(Enums.PixelMap map, GLint mapsize, System.IntPtr values) + { + Delegates.glPixelMapusv(map, mapsize, values); + } public static void PixelStoref(Enums.PixelStoreParameter pname, GLfloat param) { Delegates.glPixelStoref(pname, param); @@ -9841,6 +18148,18 @@ namespace OpenTK.OpenGL { Delegates.glPixelTexGenParameterfvSGIS(pname, @params); } + public static void PixelTexGenParameterfvSGIS(Enums.PixelTexGenParameterNameSGIS pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glPixelTexGenParameterfvSGIS(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void PixelTexGenParameterfvSGIS(Enums.PixelTexGenParameterNameSGIS pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -9857,9 +18176,17 @@ namespace OpenTK.OpenGL { Delegates.glPixelTexGenParameteriSGIS(pname, param); } - public static void PixelTexGenParameterivSGIS(Enums.PixelTexGenParameterNameSGIS pname, System.IntPtr @params) + public static void PixelTexGenParameterivSGIS(Enums.PixelTexGenParameterNameSGIS pname, ref GLint @params) { - Delegates.glPixelTexGenParameterivSGIS(pname, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glPixelTexGenParameterivSGIS(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void PixelTexGenParameterivSGIS(Enums.PixelTexGenParameterNameSGIS pname, GLint[] @params) { @@ -9873,6 +18200,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void PixelTexGenParameterivSGIS(Enums.PixelTexGenParameterNameSGIS pname, System.IntPtr @params) + { + Delegates.glPixelTexGenParameterivSGIS(pname, @params); + } public static void PixelTexGenSGIX(Enums.SGIX_pixel_texture mode) { Delegates.glPixelTexGenSGIX(mode); @@ -9889,7 +18220,7 @@ namespace OpenTK.OpenGL { Delegates.glPixelTransformParameterfEXT(target, pname, param); } - public static void PixelTransformParameterfvEXT(Enums.EXT_pixel_transform target, Enums.EXT_pixel_transform pname, GLfloat[] @params) + public static void PixelTransformParameterfvEXT(Enums.EXT_pixel_transform target, Enums.EXT_pixel_transform pname, ref GLfloat @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -9905,10 +18236,38 @@ namespace OpenTK.OpenGL { Delegates.glPixelTransformParameterfvEXT(target, pname, @params); } + public static void PixelTransformParameterfvEXT(Enums.EXT_pixel_transform target, Enums.EXT_pixel_transform pname, GLfloat[] @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glPixelTransformParameterfvEXT(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void PixelTransformParameteriEXT(Enums.EXT_pixel_transform target, Enums.EXT_pixel_transform pname, GLint param) { Delegates.glPixelTransformParameteriEXT(target, pname, param); } + public static void PixelTransformParameterivEXT(Enums.EXT_pixel_transform target, Enums.EXT_pixel_transform pname, System.IntPtr @params) + { + Delegates.glPixelTransformParameterivEXT(target, pname, @params); + } + public static void PixelTransformParameterivEXT(Enums.EXT_pixel_transform target, Enums.EXT_pixel_transform pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glPixelTransformParameterivEXT(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void PixelTransformParameterivEXT(Enums.EXT_pixel_transform target, Enums.EXT_pixel_transform pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -9921,10 +18280,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void PixelTransformParameterivEXT(Enums.EXT_pixel_transform target, Enums.EXT_pixel_transform pname, System.IntPtr @params) - { - Delegates.glPixelTransformParameterivEXT(target, pname, @params); - } public static void PixelZoom(GLfloat xfactor, GLfloat yfactor) { Delegates.glPixelZoom(xfactor, yfactor); @@ -9953,6 +18308,18 @@ namespace OpenTK.OpenGL { Delegates.glPointParameterfSGIS(pname, param); } + public static void PointParameterfv(Enums.VERSION_1_4 pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glPointParameterfv(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void PointParameterfv(Enums.VERSION_1_4 pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -9969,7 +18336,7 @@ namespace OpenTK.OpenGL { Delegates.glPointParameterfv(pname, @params); } - public static void PointParameterfvARB(Enums.ARB_point_parameters pname, GLfloat[] @params) + public static void PointParameterfvARB(Enums.ARB_point_parameters pname, ref GLfloat @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -9985,7 +18352,19 @@ namespace OpenTK.OpenGL { Delegates.glPointParameterfvARB(pname, @params); } - public static void PointParameterfvEXT(Enums.EXT_point_parameters pname, GLfloat[] @params) + public static void PointParameterfvARB(Enums.ARB_point_parameters pname, GLfloat[] @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glPointParameterfvARB(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void PointParameterfvEXT(Enums.EXT_point_parameters pname, ref GLfloat @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -10001,6 +18380,18 @@ namespace OpenTK.OpenGL { Delegates.glPointParameterfvEXT(pname, @params); } + public static void PointParameterfvEXT(Enums.EXT_point_parameters pname, GLfloat[] @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glPointParameterfvEXT(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void PointParameterfvSGIS(Enums.SGIS_point_parameters pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -10017,6 +18408,18 @@ namespace OpenTK.OpenGL { Delegates.glPointParameterfvSGIS(pname, @params); } + public static void PointParameterfvSGIS(Enums.SGIS_point_parameters pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glPointParameterfvSGIS(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void PointParameteri(Enums.VERSION_1_4 pname, GLint param) { Delegates.glPointParameteri(pname, param); @@ -10025,6 +18428,22 @@ namespace OpenTK.OpenGL { Delegates.glPointParameteriNV(pname, param); } + public static void PointParameteriv(Enums.VERSION_1_4 pname, System.IntPtr @params) + { + Delegates.glPointParameteriv(pname, @params); + } + public static void PointParameteriv(Enums.VERSION_1_4 pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glPointParameteriv(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void PointParameteriv(Enums.VERSION_1_4 pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -10037,14 +18456,22 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void PointParameteriv(Enums.VERSION_1_4 pname, System.IntPtr @params) - { - Delegates.glPointParameteriv(pname, @params); - } public static void PointParameterivNV(Enums.NV_point_sprite pname, System.IntPtr @params) { Delegates.glPointParameterivNV(pname, @params); } + public static void PointParameterivNV(Enums.NV_point_sprite pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glPointParameterivNV(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void PointParameterivNV(Enums.NV_point_sprite pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -10061,28 +18488,50 @@ namespace OpenTK.OpenGL { Delegates.glPointSize(size); } - public static GLint PollAsyncSGIX([In, Out()] System.IntPtr markerp) - { - return Delegates.glPollAsyncSGIX(markerp); - } public static GLint PollAsyncSGIX(GLuint[] markerp) { GCHandle h0 = GCHandle.Alloc(markerp, GCHandleType.Pinned); try { - return Delegates.glPollAsyncSGIX(h0.AddrOfPinnedObject()); + GLint retval; + retval = Delegates.glPollAsyncSGIX(h0.AddrOfPinnedObject()); + return retval; } finally { h0.Free(); } } - public static GLint PollInstrumentsSGIX(GLint[] marker_p) + public static GLint PollAsyncSGIX([In, Out()] System.IntPtr markerp) { + return Delegates.glPollAsyncSGIX(markerp); + } + public static GLint PollAsyncSGIX(out GLuint markerp) + { + markerp = default(GLuint); + GCHandle h0 = GCHandle.Alloc(markerp, GCHandleType.Pinned); + try + { + GLint retval; + retval = Delegates.glPollAsyncSGIX(h0.AddrOfPinnedObject()); + markerp = (GLuint)h0.Target; + return retval; + } + finally + { + h0.Free(); + } + } + public static GLint PollInstrumentsSGIX(out GLint marker_p) + { + marker_p = default(GLint); GCHandle h0 = GCHandle.Alloc(marker_p, GCHandleType.Pinned); try { - return Delegates.glPollInstrumentsSGIX(h0.AddrOfPinnedObject()); + GLint retval; + retval = Delegates.glPollInstrumentsSGIX(h0.AddrOfPinnedObject()); + marker_p = (GLint)h0.Target; + return retval; } finally { @@ -10093,6 +18542,20 @@ namespace OpenTK.OpenGL { return Delegates.glPollInstrumentsSGIX(marker_p); } + public static GLint PollInstrumentsSGIX(GLint[] marker_p) + { + GCHandle h0 = GCHandle.Alloc(marker_p, GCHandleType.Pinned); + try + { + GLint retval; + retval = Delegates.glPollInstrumentsSGIX(h0.AddrOfPinnedObject()); + return retval; + } + finally + { + h0.Free(); + } + } public static void PolygonMode(Enums.MaterialFace face, Enums.PolygonMode mode) { Delegates.glPolygonMode(face, mode); @@ -10121,6 +18584,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void PolygonStipple(ref GLubyte mask) + { + GCHandle h0 = GCHandle.Alloc(mask, GCHandleType.Pinned); + try + { + Delegates.glPolygonStipple(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void PopAttrib() { Delegates.glPopAttrib(); @@ -10145,6 +18620,74 @@ namespace OpenTK.OpenGL { Delegates.glPrimitiveRestartNV(); } + public static void PrioritizeTextures(GLsizei n, ref GLuint textures, System.IntPtr priorities) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + try + { + Delegates.glPrioritizeTextures(n, h0.AddrOfPinnedObject(), priorities); + } + finally + { + h0.Free(); + } + } + public static void PrioritizeTextures(GLsizei n, GLuint[] textures, ref GLclampf priorities) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(priorities, GCHandleType.Pinned); + try + { + Delegates.glPrioritizeTextures(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void PrioritizeTextures(GLsizei n, ref GLuint textures, ref GLclampf priorities) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(priorities, GCHandleType.Pinned); + try + { + Delegates.glPrioritizeTextures(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void PrioritizeTextures(GLsizei n, ref GLuint textures, GLclampf[] priorities) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(priorities, GCHandleType.Pinned); + try + { + Delegates.glPrioritizeTextures(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void PrioritizeTextures(GLsizei n, GLuint[] textures, GLclampf[] priorities) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(priorities, GCHandleType.Pinned); + try + { + Delegates.glPrioritizeTextures(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void PrioritizeTextures(GLsizei n, System.IntPtr textures, GLclampf[] priorities) { GCHandle h0 = GCHandle.Alloc(priorities, GCHandleType.Pinned); @@ -10161,20 +18704,6 @@ namespace OpenTK.OpenGL { Delegates.glPrioritizeTextures(n, textures, priorities); } - public static void PrioritizeTextures(GLsizei n, GLuint[] textures, GLclampf[] priorities) - { - GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(priorities, GCHandleType.Pinned); - try - { - Delegates.glPrioritizeTextures(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - } - } public static void PrioritizeTextures(GLsizei n, GLuint[] textures, System.IntPtr priorities) { GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); @@ -10187,11 +18716,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void PrioritizeTexturesEXT(GLsizei n, System.IntPtr textures, System.IntPtr priorities) + public static void PrioritizeTextures(GLsizei n, System.IntPtr textures, ref GLclampf priorities) { - Delegates.glPrioritizeTexturesEXT(n, textures, priorities); + GCHandle h0 = GCHandle.Alloc(priorities, GCHandleType.Pinned); + try + { + Delegates.glPrioritizeTextures(n, textures, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } - public static void PrioritizeTexturesEXT(GLsizei n, GLuint[] textures, System.IntPtr priorities) + public static void PrioritizeTexturesEXT(GLsizei n, ref GLuint textures, System.IntPtr priorities) { GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); try @@ -10203,6 +18740,48 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void PrioritizeTexturesEXT(GLsizei n, GLuint[] textures, ref GLclampf priorities) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(priorities, GCHandleType.Pinned); + try + { + Delegates.glPrioritizeTexturesEXT(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void PrioritizeTexturesEXT(GLsizei n, ref GLuint textures, ref GLclampf priorities) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(priorities, GCHandleType.Pinned); + try + { + Delegates.glPrioritizeTexturesEXT(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void PrioritizeTexturesEXT(GLsizei n, ref GLuint textures, GLclampf[] priorities) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(priorities, GCHandleType.Pinned); + try + { + Delegates.glPrioritizeTexturesEXT(n, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void PrioritizeTexturesEXT(GLsizei n, GLuint[] textures, GLclampf[] priorities) { GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); @@ -10229,7 +18808,35 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ProgramBufferParametersfvNV(Enums.NV_parameter_buffer_object target, GLuint buffer, GLuint index, GLsizei count, GLfloat[] @params) + public static void PrioritizeTexturesEXT(GLsizei n, System.IntPtr textures, System.IntPtr priorities) + { + Delegates.glPrioritizeTexturesEXT(n, textures, priorities); + } + public static void PrioritizeTexturesEXT(GLsizei n, GLuint[] textures, System.IntPtr priorities) + { + GCHandle h0 = GCHandle.Alloc(textures, GCHandleType.Pinned); + try + { + Delegates.glPrioritizeTexturesEXT(n, h0.AddrOfPinnedObject(), priorities); + } + finally + { + h0.Free(); + } + } + public static void PrioritizeTexturesEXT(GLsizei n, System.IntPtr textures, ref GLclampf priorities) + { + GCHandle h0 = GCHandle.Alloc(priorities, GCHandleType.Pinned); + try + { + Delegates.glPrioritizeTexturesEXT(n, textures, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ProgramBufferParametersfvNV(Enums.NV_parameter_buffer_object target, GLuint buffer, GLuint index, GLsizei count, ref GLfloat @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -10245,7 +18852,19 @@ namespace OpenTK.OpenGL { Delegates.glProgramBufferParametersfvNV(target, buffer, index, count, @params); } - public static void ProgramBufferParametersIivNV(Enums.NV_parameter_buffer_object target, GLuint buffer, GLuint index, GLsizei count, GLint[] @params) + public static void ProgramBufferParametersfvNV(Enums.NV_parameter_buffer_object target, GLuint buffer, GLuint index, GLsizei count, GLfloat[] @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramBufferParametersfvNV(target, buffer, index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ProgramBufferParametersIivNV(Enums.NV_parameter_buffer_object target, GLuint buffer, GLuint index, GLsizei count, ref GLint @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -10261,6 +18880,30 @@ namespace OpenTK.OpenGL { Delegates.glProgramBufferParametersIivNV(target, buffer, index, count, @params); } + public static void ProgramBufferParametersIivNV(Enums.NV_parameter_buffer_object target, GLuint buffer, GLuint index, GLsizei count, GLint[] @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramBufferParametersIivNV(target, buffer, index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ProgramBufferParametersIuivNV(Enums.NV_parameter_buffer_object target, GLuint buffer, GLuint index, GLsizei count, ref GLuint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramBufferParametersIuivNV(target, buffer, index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ProgramBufferParametersIuivNV(Enums.NV_parameter_buffer_object target, GLuint buffer, GLuint index, GLsizei count, GLuint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -10281,9 +18924,17 @@ namespace OpenTK.OpenGL { Delegates.glProgramEnvParameter4dARB(target, index, x, y, z, w); } - public static void ProgramEnvParameter4dvARB(Enums.ARB_vertex_program target, GLuint index, System.IntPtr @params) + public static void ProgramEnvParameter4dvARB(Enums.ARB_vertex_program target, GLuint index, ref GLdouble @params) { - Delegates.glProgramEnvParameter4dvARB(target, index, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramEnvParameter4dvARB(target, index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void ProgramEnvParameter4dvARB(Enums.ARB_vertex_program target, GLuint index, GLdouble[] @params) { @@ -10297,10 +18948,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ProgramEnvParameter4dvARB(Enums.ARB_vertex_program target, GLuint index, System.IntPtr @params) + { + Delegates.glProgramEnvParameter4dvARB(target, index, @params); + } public static void ProgramEnvParameter4fARB(Enums.ARB_vertex_program target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { Delegates.glProgramEnvParameter4fARB(target, index, x, y, z, w); } + public static void ProgramEnvParameter4fvARB(Enums.ARB_vertex_program target, GLuint index, System.IntPtr @params) + { + Delegates.glProgramEnvParameter4fvARB(target, index, @params); + } public static void ProgramEnvParameter4fvARB(Enums.ARB_vertex_program target, GLuint index, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -10313,9 +18972,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ProgramEnvParameter4fvARB(Enums.ARB_vertex_program target, GLuint index, System.IntPtr @params) + public static void ProgramEnvParameter4fvARB(Enums.ARB_vertex_program target, GLuint index, ref GLfloat @params) { - Delegates.glProgramEnvParameter4fvARB(target, index, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramEnvParameter4fvARB(target, index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void ProgramEnvParameterI4iNV(Enums.NV_gpu_program4 target, GLuint index, GLint x, GLint y, GLint z, GLint w) { @@ -10337,13 +19004,33 @@ namespace OpenTK.OpenGL { Delegates.glProgramEnvParameterI4ivNV(target, index, @params); } + public static void ProgramEnvParameterI4ivNV(Enums.NV_gpu_program4 target, GLuint index, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramEnvParameterI4ivNV(target, index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ProgramEnvParameterI4uiNV(Enums.NV_gpu_program4 target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { Delegates.glProgramEnvParameterI4uiNV(target, index, x, y, z, w); } - public static void ProgramEnvParameterI4uivNV(Enums.NV_gpu_program4 target, GLuint index, System.IntPtr @params) + public static void ProgramEnvParameterI4uivNV(Enums.NV_gpu_program4 target, GLuint index, ref GLuint @params) { - Delegates.glProgramEnvParameterI4uivNV(target, index, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramEnvParameterI4uivNV(target, index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void ProgramEnvParameterI4uivNV(Enums.NV_gpu_program4 target, GLuint index, GLuint[] @params) { @@ -10357,9 +19044,21 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ProgramEnvParameters4fvEXT(Enums.EXT_gpu_program_parameters target, GLuint index, GLsizei count, System.IntPtr @params) + public static void ProgramEnvParameterI4uivNV(Enums.NV_gpu_program4 target, GLuint index, System.IntPtr @params) { - Delegates.glProgramEnvParameters4fvEXT(target, index, count, @params); + Delegates.glProgramEnvParameterI4uivNV(target, index, @params); + } + public static void ProgramEnvParameters4fvEXT(Enums.EXT_gpu_program_parameters target, GLuint index, GLsizei count, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramEnvParameters4fvEXT(target, index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void ProgramEnvParameters4fvEXT(Enums.EXT_gpu_program_parameters target, GLuint index, GLsizei count, GLfloat[] @params) { @@ -10373,11 +19072,27 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ProgramEnvParameters4fvEXT(Enums.EXT_gpu_program_parameters target, GLuint index, GLsizei count, System.IntPtr @params) + { + Delegates.glProgramEnvParameters4fvEXT(target, index, count, @params); + } + public static void ProgramEnvParametersI4ivNV(Enums.NV_gpu_program4 target, GLuint index, GLsizei count, GLint[] @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramEnvParametersI4ivNV(target, index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ProgramEnvParametersI4ivNV(Enums.NV_gpu_program4 target, GLuint index, GLsizei count, System.IntPtr @params) { Delegates.glProgramEnvParametersI4ivNV(target, index, count, @params); } - public static void ProgramEnvParametersI4ivNV(Enums.NV_gpu_program4 target, GLuint index, GLsizei count, GLint[] @params) + public static void ProgramEnvParametersI4ivNV(Enums.NV_gpu_program4 target, GLuint index, GLsizei count, ref GLint @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -10401,6 +19116,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ProgramEnvParametersI4uivNV(Enums.NV_gpu_program4 target, GLuint index, GLsizei count, ref GLuint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramEnvParametersI4uivNV(target, index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ProgramEnvParametersI4uivNV(Enums.NV_gpu_program4 target, GLuint index, GLsizei count, System.IntPtr @params) { Delegates.glProgramEnvParametersI4uivNV(target, index, count, @params); @@ -10409,6 +19136,18 @@ namespace OpenTK.OpenGL { Delegates.glProgramLocalParameter4dARB(target, index, x, y, z, w); } + public static void ProgramLocalParameter4dvARB(Enums.ARB_vertex_program target, GLuint index, ref GLdouble @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramLocalParameter4dvARB(target, index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ProgramLocalParameter4dvARB(Enums.ARB_vertex_program target, GLuint index, GLdouble[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -10429,6 +19168,18 @@ namespace OpenTK.OpenGL { Delegates.glProgramLocalParameter4fARB(target, index, x, y, z, w); } + public static void ProgramLocalParameter4fvARB(Enums.ARB_vertex_program target, GLuint index, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramLocalParameter4fvARB(target, index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ProgramLocalParameter4fvARB(Enums.ARB_vertex_program target, GLuint index, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -10465,6 +19216,18 @@ namespace OpenTK.OpenGL { Delegates.glProgramLocalParameterI4ivNV(target, index, @params); } + public static void ProgramLocalParameterI4ivNV(Enums.NV_gpu_program4 target, GLuint index, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramLocalParameterI4ivNV(target, index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ProgramLocalParameterI4uiNV(Enums.NV_gpu_program4 target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { Delegates.glProgramLocalParameterI4uiNV(target, index, x, y, z, w); @@ -10473,6 +19236,18 @@ namespace OpenTK.OpenGL { Delegates.glProgramLocalParameterI4uivNV(target, index, @params); } + public static void ProgramLocalParameterI4uivNV(Enums.NV_gpu_program4 target, GLuint index, ref GLuint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramLocalParameterI4uivNV(target, index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ProgramLocalParameterI4uivNV(Enums.NV_gpu_program4 target, GLuint index, GLuint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -10485,6 +19260,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ProgramLocalParameters4fvEXT(Enums.EXT_gpu_program_parameters target, GLuint index, GLsizei count, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramLocalParameters4fvEXT(target, index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ProgramLocalParameters4fvEXT(Enums.EXT_gpu_program_parameters target, GLuint index, GLsizei count, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -10501,6 +19288,10 @@ namespace OpenTK.OpenGL { Delegates.glProgramLocalParameters4fvEXT(target, index, count, @params); } + public static void ProgramLocalParametersI4ivNV(Enums.NV_gpu_program4 target, GLuint index, GLsizei count, System.IntPtr @params) + { + Delegates.glProgramLocalParametersI4ivNV(target, index, count, @params); + } public static void ProgramLocalParametersI4ivNV(Enums.NV_gpu_program4 target, GLuint index, GLsizei count, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -10513,9 +19304,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ProgramLocalParametersI4ivNV(Enums.NV_gpu_program4 target, GLuint index, GLsizei count, System.IntPtr @params) + public static void ProgramLocalParametersI4ivNV(Enums.NV_gpu_program4 target, GLuint index, GLsizei count, ref GLint @params) { - Delegates.glProgramLocalParametersI4ivNV(target, index, count, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramLocalParametersI4ivNV(target, index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ProgramLocalParametersI4uivNV(Enums.NV_gpu_program4 target, GLuint index, GLsizei count, ref GLuint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glProgramLocalParametersI4uivNV(target, index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void ProgramLocalParametersI4uivNV(Enums.NV_gpu_program4 target, GLuint index, GLsizei count, System.IntPtr @params) { @@ -10533,6 +19344,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ProgramNamedParameter4dNV(GLuint id, GLsizei len, System.IntPtr name, GLdouble x, GLdouble y, GLdouble z, GLdouble w) + { + Delegates.glProgramNamedParameter4dNV(id, len, name, x, y, z, w); + } public static void ProgramNamedParameter4dNV(GLuint id, GLsizei len, GLubyte[] name, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); @@ -10545,25 +19360,31 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ProgramNamedParameter4dNV(GLuint id, GLsizei len, System.IntPtr name, GLdouble x, GLdouble y, GLdouble z, GLdouble w) + public static void ProgramNamedParameter4dNV(GLuint id, GLsizei len, ref GLubyte name, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { - Delegates.glProgramNamedParameter4dNV(id, len, name, x, y, z, w); - } - public static void ProgramNamedParameter4dvNV(GLuint id, GLsizei len, System.IntPtr name, GLdouble[] v) - { - GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); try { - Delegates.glProgramNamedParameter4dvNV(id, len, name, h0.AddrOfPinnedObject()); + Delegates.glProgramNamedParameter4dNV(id, len, h0.AddrOfPinnedObject(), x, y, z, w); } finally { h0.Free(); } } - public static void ProgramNamedParameter4dvNV(GLuint id, GLsizei len, System.IntPtr name, System.IntPtr v) + public static void ProgramNamedParameter4dvNV(GLuint id, GLsizei len, GLubyte[] name, ref GLdouble v) { - Delegates.glProgramNamedParameter4dvNV(id, len, name, v); + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glProgramNamedParameter4dvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } } public static void ProgramNamedParameter4dvNV(GLuint id, GLsizei len, GLubyte[] name, GLdouble[] v) { @@ -10591,6 +19412,78 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ProgramNamedParameter4dvNV(GLuint id, GLsizei len, ref GLubyte name, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glProgramNamedParameter4dvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ProgramNamedParameter4dvNV(GLuint id, GLsizei len, ref GLubyte name, GLdouble[] v) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glProgramNamedParameter4dvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ProgramNamedParameter4dvNV(GLuint id, GLsizei len, ref GLubyte name, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + try + { + Delegates.glProgramNamedParameter4dvNV(id, len, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void ProgramNamedParameter4dvNV(GLuint id, GLsizei len, System.IntPtr name, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glProgramNamedParameter4dvNV(id, len, name, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ProgramNamedParameter4dvNV(GLuint id, GLsizei len, System.IntPtr name, System.IntPtr v) + { + Delegates.glProgramNamedParameter4dvNV(id, len, name, v); + } + public static void ProgramNamedParameter4dvNV(GLuint id, GLsizei len, System.IntPtr name, GLdouble[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glProgramNamedParameter4dvNV(id, len, name, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ProgramNamedParameter4fNV(GLuint id, GLsizei len, System.IntPtr name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) + { + Delegates.glProgramNamedParameter4fNV(id, len, name, x, y, z, w); + } public static void ProgramNamedParameter4fNV(GLuint id, GLsizei len, GLubyte[] name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); @@ -10603,13 +19496,41 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ProgramNamedParameter4fNV(GLuint id, GLsizei len, System.IntPtr name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) + public static void ProgramNamedParameter4fNV(GLuint id, GLsizei len, ref GLubyte name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - Delegates.glProgramNamedParameter4fNV(id, len, name, x, y, z, w); + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + try + { + Delegates.glProgramNamedParameter4fNV(id, len, h0.AddrOfPinnedObject(), x, y, z, w); + } + finally + { + h0.Free(); + } } - public static void ProgramNamedParameter4fvNV(GLuint id, GLsizei len, System.IntPtr name, System.IntPtr v) + public static void ProgramNamedParameter4fvNV(GLuint id, GLsizei len, System.IntPtr name, ref GLfloat v) { - Delegates.glProgramNamedParameter4fvNV(id, len, name, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glProgramNamedParameter4fvNV(id, len, name, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ProgramNamedParameter4fvNV(GLuint id, GLsizei len, GLubyte[] name, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + try + { + Delegates.glProgramNamedParameter4fvNV(id, len, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } } public static void ProgramNamedParameter4fvNV(GLuint id, GLsizei len, GLubyte[] name, GLfloat[] v) { @@ -10625,7 +19546,25 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void ProgramNamedParameter4fvNV(GLuint id, GLsizei len, GLubyte[] name, System.IntPtr v) + public static void ProgramNamedParameter4fvNV(GLuint id, GLsizei len, System.IntPtr name, System.IntPtr v) + { + Delegates.glProgramNamedParameter4fvNV(id, len, name, v); + } + public static void ProgramNamedParameter4fvNV(GLuint id, GLsizei len, ref GLubyte name, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glProgramNamedParameter4fvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ProgramNamedParameter4fvNV(GLuint id, GLsizei len, ref GLubyte name, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); try @@ -10637,6 +19576,20 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ProgramNamedParameter4fvNV(GLuint id, GLsizei len, GLubyte[] name, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glProgramNamedParameter4fvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void ProgramNamedParameter4fvNV(GLuint id, GLsizei len, System.IntPtr name, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -10649,11 +19602,25 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ProgramNamedParameter4fvNV(GLuint id, GLsizei len, ref GLubyte name, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(name, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glProgramNamedParameter4fvNV(id, len, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void ProgramParameter4dNV(Enums.NV_vertex_program target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { Delegates.glProgramParameter4dNV(target, index, x, y, z, w); } - public static void ProgramParameter4dvNV(Enums.NV_vertex_program target, GLuint index, GLdouble[] v) + public static void ProgramParameter4dvNV(Enums.NV_vertex_program target, GLuint index, ref GLdouble v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -10669,13 +19636,33 @@ namespace OpenTK.OpenGL { Delegates.glProgramParameter4dvNV(target, index, v); } + public static void ProgramParameter4dvNV(Enums.NV_vertex_program target, GLuint index, GLdouble[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glProgramParameter4dvNV(target, index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ProgramParameter4fNV(Enums.NV_vertex_program target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { Delegates.glProgramParameter4fNV(target, index, x, y, z, w); } - public static void ProgramParameter4fvNV(Enums.NV_vertex_program target, GLuint index, System.IntPtr v) + public static void ProgramParameter4fvNV(Enums.NV_vertex_program target, GLuint index, ref GLfloat v) { - Delegates.glProgramParameter4fvNV(target, index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glProgramParameter4fvNV(target, index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void ProgramParameter4fvNV(Enums.NV_vertex_program target, GLuint index, GLfloat[] v) { @@ -10689,11 +19676,15 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ProgramParameter4fvNV(Enums.NV_vertex_program target, GLuint index, System.IntPtr v) + { + Delegates.glProgramParameter4fvNV(target, index, v); + } public static void ProgramParameteriEXT(GLuint program, Enums.EXT_geometry_shader4 pname, GLint value) { Delegates.glProgramParameteriEXT(program, pname, value); } - public static void ProgramParameters4dvNV(Enums.NV_vertex_program target, GLuint index, GLuint count, GLdouble[] v) + public static void ProgramParameters4dvNV(Enums.NV_vertex_program target, GLuint index, GLuint count, ref GLdouble v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -10709,6 +19700,18 @@ namespace OpenTK.OpenGL { Delegates.glProgramParameters4dvNV(target, index, count, v); } + public static void ProgramParameters4dvNV(Enums.NV_vertex_program target, GLuint index, GLuint count, GLdouble[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glProgramParameters4dvNV(target, index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ProgramParameters4fvNV(Enums.NV_vertex_program target, GLuint index, GLuint count, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -10725,6 +19728,18 @@ namespace OpenTK.OpenGL { Delegates.glProgramParameters4fvNV(target, index, count, v); } + public static void ProgramParameters4fvNV(Enums.NV_vertex_program target, GLuint index, GLuint count, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glProgramParameters4fvNV(target, index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ProgramStringARB(Enums.ARB_vertex_program target, Enums.ARB_vertex_program format, GLsizei len, System.IntPtr @string) { Delegates.glProgramStringARB(target, format, len, @string); @@ -10781,13 +19796,33 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void RasterPos2dv(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glRasterPos2dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void RasterPos2f(GLfloat x, GLfloat y) { Delegates.glRasterPos2f(x, y); } - public static void RasterPos2fv(System.IntPtr v) + public static void RasterPos2fv(ref GLfloat v) { - Delegates.glRasterPos2fv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glRasterPos2fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void RasterPos2fv(GLfloat[] v) { @@ -10801,10 +19836,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void RasterPos2fv(System.IntPtr v) + { + Delegates.glRasterPos2fv(v); + } public static void RasterPos2i(GLint x, GLint y) { Delegates.glRasterPos2i(x, y); } + public static void RasterPos2iv(System.IntPtr v) + { + Delegates.glRasterPos2iv(v); + } public static void RasterPos2iv(GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -10817,17 +19860,33 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void RasterPos2iv(System.IntPtr v) + public static void RasterPos2iv(ref GLint v) { - Delegates.glRasterPos2iv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glRasterPos2iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void RasterPos2s(GLshort x, GLshort y) { Delegates.glRasterPos2s(x, y); } - public static void RasterPos2sv(System.IntPtr v) + public static void RasterPos2sv(ref GLshort v) { - Delegates.glRasterPos2sv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glRasterPos2sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void RasterPos2sv(GLshort[] v) { @@ -10841,13 +19900,25 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void RasterPos2sv(System.IntPtr v) + { + Delegates.glRasterPos2sv(v); + } public static void RasterPos3d(GLdouble x, GLdouble y, GLdouble z) { Delegates.glRasterPos3d(x, y, z); } - public static void RasterPos3dv(System.IntPtr v) + public static void RasterPos3dv(ref GLdouble v) { - Delegates.glRasterPos3dv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glRasterPos3dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void RasterPos3dv(GLdouble[] v) { @@ -10861,6 +19932,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void RasterPos3dv(System.IntPtr v) + { + Delegates.glRasterPos3dv(v); + } public static void RasterPos3f(GLfloat x, GLfloat y, GLfloat z) { Delegates.glRasterPos3f(x, y, z); @@ -10877,6 +19952,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void RasterPos3fv(ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glRasterPos3fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void RasterPos3fv(System.IntPtr v) { Delegates.glRasterPos3fv(v); @@ -10885,7 +19972,7 @@ namespace OpenTK.OpenGL { Delegates.glRasterPos3i(x, y, z); } - public static void RasterPos3iv(GLint[] v) + public static void RasterPos3iv(ref GLint v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -10901,6 +19988,18 @@ namespace OpenTK.OpenGL { Delegates.glRasterPos3iv(v); } + public static void RasterPos3iv(GLint[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glRasterPos3iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void RasterPos3s(GLshort x, GLshort y, GLshort z) { Delegates.glRasterPos3s(x, y, z); @@ -10921,13 +20020,33 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void RasterPos3sv(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glRasterPos3sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void RasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { Delegates.glRasterPos4d(x, y, z, w); } - public static void RasterPos4dv(System.IntPtr v) + public static void RasterPos4dv(ref GLdouble v) { - Delegates.glRasterPos4dv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glRasterPos4dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void RasterPos4dv(GLdouble[] v) { @@ -10941,10 +20060,30 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void RasterPos4dv(System.IntPtr v) + { + Delegates.glRasterPos4dv(v); + } public static void RasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { Delegates.glRasterPos4f(x, y, z, w); } + public static void RasterPos4fv(System.IntPtr v) + { + Delegates.glRasterPos4fv(v); + } + public static void RasterPos4fv(ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glRasterPos4fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void RasterPos4fv(GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -10957,18 +20096,10 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void RasterPos4fv(System.IntPtr v) - { - Delegates.glRasterPos4fv(v); - } public static void RasterPos4i(GLint x, GLint y, GLint z, GLint w) { Delegates.glRasterPos4i(x, y, z, w); } - public static void RasterPos4iv(System.IntPtr v) - { - Delegates.glRasterPos4iv(v); - } public static void RasterPos4iv(GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -10981,6 +20112,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void RasterPos4iv(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glRasterPos4iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void RasterPos4iv(System.IntPtr v) + { + Delegates.glRasterPos4iv(v); + } public static void RasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) { Delegates.glRasterPos4s(x, y, z, w); @@ -11001,6 +20148,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void RasterPos4sv(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glRasterPos4sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ReadBuffer(Enums.ReadBufferMode mode) { Delegates.glReadBuffer(mode); @@ -11009,6 +20168,10 @@ namespace OpenTK.OpenGL { Delegates.glReadInstrumentsSGIX(marker); } + public static void ReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr pixels) + { + Delegates.glReadPixels(x, y, width, height, format, type, pixels); + } public static void ReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, object pixels) { GCHandle h0 = GCHandle.Alloc(pixels, GCHandleType.Pinned); @@ -11021,17 +20184,73 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, [In, Out()] System.IntPtr pixels) - { - Delegates.glReadPixels(x, y, width, height, format, type, pixels); - } public static void Rectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) { Delegates.glRectd(x1, y1, x2, y2); } - public static void Rectdv(System.IntPtr v1, System.IntPtr v2) + public static void Rectdv(System.IntPtr v1, ref GLdouble v2) { - Delegates.glRectdv(v1, v2); + GCHandle h0 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectdv(v1, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void Rectdv(GLdouble[] v1, System.IntPtr v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + try + { + Delegates.glRectdv(h0.AddrOfPinnedObject(), v2); + } + finally + { + h0.Free(); + } + } + public static void Rectdv(ref GLdouble v1, System.IntPtr v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + try + { + Delegates.glRectdv(h0.AddrOfPinnedObject(), v2); + } + finally + { + h0.Free(); + } + } + public static void Rectdv(GLdouble[] v1, ref GLdouble v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectdv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Rectdv(ref GLdouble v1, GLdouble[] v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectdv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } } public static void Rectdv(GLdouble[] v1, GLdouble[] v2) { @@ -11047,18 +20266,6 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void Rectdv(GLdouble[] v1, System.IntPtr v2) - { - GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); - try - { - Delegates.glRectdv(h0.AddrOfPinnedObject(), v2); - } - finally - { - h0.Free(); - } - } public static void Rectdv(System.IntPtr v1, GLdouble[] v2) { GCHandle h0 = GCHandle.Alloc(v2, GCHandleType.Pinned); @@ -11071,6 +20278,24 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Rectdv(ref GLdouble v1, ref GLdouble v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectdv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Rectdv(System.IntPtr v1, System.IntPtr v2) + { + Delegates.glRectdv(v1, v2); + } public static void Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) { Delegates.glRectf(x1, y1, x2, y2); @@ -11087,20 +20312,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Rectfv(GLfloat[] v1, GLfloat[] v2) - { - GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); - try - { - Delegates.glRectfv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - } - } public static void Rectfv(System.IntPtr v1, System.IntPtr v2) { Delegates.glRectfv(v1, v2); @@ -11117,11 +20328,91 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Rectfv(System.IntPtr v1, ref GLfloat v2) + { + GCHandle h0 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectfv(v1, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void Rectfv(ref GLfloat v1, ref GLfloat v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectfv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Rectfv(GLfloat[] v1, ref GLfloat v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectfv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Rectfv(GLfloat[] v1, GLfloat[] v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectfv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Rectfv(ref GLfloat v1, System.IntPtr v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + try + { + Delegates.glRectfv(h0.AddrOfPinnedObject(), v2); + } + finally + { + h0.Free(); + } + } + public static void Rectfv(ref GLfloat v1, GLfloat[] v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectfv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void Recti(GLint x1, GLint y1, GLint x2, GLint y2) { Delegates.glRecti(x1, y1, x2, y2); } - public static void Rectiv(GLint[] v1, System.IntPtr v2) + public static void Rectiv(ref GLint v1, System.IntPtr v2) { GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); try @@ -11133,6 +20424,48 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Rectiv(ref GLint v1, ref GLint v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectiv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Rectiv(ref GLint v1, GLint[] v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectiv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Rectiv(GLint[] v1, ref GLint v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectiv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void Rectiv(System.IntPtr v1, GLint[] v2) { GCHandle h0 = GCHandle.Alloc(v2, GCHandleType.Pinned); @@ -11149,6 +20482,18 @@ namespace OpenTK.OpenGL { Delegates.glRectiv(v1, v2); } + public static void Rectiv(System.IntPtr v1, ref GLint v2) + { + GCHandle h0 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectiv(v1, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Rectiv(GLint[] v1, GLint[] v2) { GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); @@ -11163,22 +20508,36 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void Rects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) + public static void Rectiv(GLint[] v1, System.IntPtr v2) { - Delegates.glRects(x1, y1, x2, y2); - } - public static void Rectsv(System.IntPtr v1, GLshort[] v2) - { - GCHandle h0 = GCHandle.Alloc(v2, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); try { - Delegates.glRectsv(v1, h0.AddrOfPinnedObject()); + Delegates.glRectiv(h0.AddrOfPinnedObject(), v2); } finally { h0.Free(); } } + public static void Rects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) + { + Delegates.glRects(x1, y1, x2, y2); + } + public static void Rectsv(GLshort[] v1, GLshort[] v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectsv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void Rectsv(GLshort[] v1, System.IntPtr v2) { GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); @@ -11191,7 +20550,71 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Rectsv(GLshort[] v1, GLshort[] v2) + public static void Rectsv(System.IntPtr v1, ref GLshort v2) + { + GCHandle h0 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectsv(v1, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void Rectsv(ref GLshort v1, System.IntPtr v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + try + { + Delegates.glRectsv(h0.AddrOfPinnedObject(), v2); + } + finally + { + h0.Free(); + } + } + public static void Rectsv(ref GLshort v1, GLshort[] v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectsv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Rectsv(GLshort[] v1, ref GLshort v2) + { + GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectsv(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void Rectsv(System.IntPtr v1, GLshort[] v2) + { + GCHandle h0 = GCHandle.Alloc(v2, GCHandleType.Pinned); + try + { + Delegates.glRectsv(v1, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void Rectsv(ref GLshort v1, ref GLshort v2) { GCHandle h0 = GCHandle.Alloc(v1, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v2, GCHandleType.Pinned); @@ -11209,11 +20632,23 @@ namespace OpenTK.OpenGL { Delegates.glRectsv(v1, v2); } + public static void ReferencePlaneSGIX(GLdouble[] equation) + { + GCHandle h0 = GCHandle.Alloc(equation, GCHandleType.Pinned); + try + { + Delegates.glReferencePlaneSGIX(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ReferencePlaneSGIX(System.IntPtr equation) { Delegates.glReferencePlaneSGIX(equation); } - public static void ReferencePlaneSGIX(GLdouble[] equation) + public static void ReferencePlaneSGIX(ref GLdouble equation) { GCHandle h0 = GCHandle.Alloc(equation, GCHandleType.Pinned); try @@ -11233,7 +20668,7 @@ namespace OpenTK.OpenGL { Delegates.glRenderbufferStorageMultisampleCoverageNV(target, coverageSamples, colorSamples, internalformat, width, height); } - public static void RenderbufferStorageMultisampleEXT(Enums.EXT_framebuffer_multisample target, GLsizei samples, Enums.EXT_framebuffer_multisample internalformat, GLsizei width, GLsizei height) + public static void RenderbufferStorageMultisampleEXT(Enums.GLenum target, GLsizei samples, Enums.GLenum internalformat, GLsizei width, GLsizei height) { Delegates.glRenderbufferStorageMultisampleEXT(target, samples, internalformat, width, height); } @@ -11245,26 +20680,10 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodePointerSUN(type, stride, pointer); } - public static void ReplacementCodePointerSUN(Enums.SUN_triangle_list type, GLsizei stride, IntPtr[] pointer) - { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodePointerSUN(type, stride, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } public static void ReplacementCodeubSUN(GLubyte code) { Delegates.glReplacementCodeubSUN(code); } - public static void ReplacementCodeubvSUN(System.IntPtr code) - { - Delegates.glReplacementCodeubvSUN(code); - } public static void ReplacementCodeubvSUN(GLubyte[] code) { GCHandle h0 = GCHandle.Alloc(code, GCHandleType.Pinned); @@ -11277,32 +20696,122 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ReplacementCodeubvSUN(ref GLubyte code) + { + GCHandle h0 = GCHandle.Alloc(code, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeubvSUN(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeubvSUN(System.IntPtr code) + { + Delegates.glReplacementCodeubvSUN(code); + } public static void ReplacementCodeuiColor3fVertex3fSUN(GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) { Delegates.glReplacementCodeuiColor3fVertex3fSUN(rc, r, g, b, x, y, z); } - public static void ReplacementCodeuiColor3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, System.IntPtr v) + public static void ReplacementCodeuiColor3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, GLfloat[] v) { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), v); + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, v); } finally { h0.Free(); } } - public static void ReplacementCodeuiColor3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, GLfloat[] v) + public static void ReplacementCodeuiColor3fVertex3fvSUN(System.IntPtr rc, ref GLfloat c, ref GLfloat v) { - GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN(rc, c, h0.AddrOfPinnedObject()); + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); } finally { h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(GLuint[] rc, ref GLfloat c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); } } public static void ReplacementCodeuiColor3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, GLfloat[] v) @@ -11321,6 +20830,72 @@ namespace OpenTK.OpenGL h2.Free(); } } + public static void ReplacementCodeuiColor3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(rc, c, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, System.IntPtr v) + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(rc, c, v); + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(rc, c, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(System.IntPtr rc, ref GLfloat c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(System.IntPtr rc, ref GLfloat c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void ReplacementCodeuiColor3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); @@ -11335,23 +20910,69 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void ReplacementCodeuiColor3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, System.IntPtr v) + public static void ReplacementCodeuiColor3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, ref GLfloat v) { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN(rc, c, v); - } - public static void ReplacementCodeuiColor3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, v); + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); } finally { h0.Free(); + h1.Free(); } } - public static void ReplacementCodeuiColor3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, System.IntPtr v) + public static void ReplacementCodeuiColor3fVertex3fvSUN(GLuint[] rc, ref GLfloat c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(ref GLuint rc, GLfloat[] c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(ref GLuint rc, GLfloat[] c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(ref GLuint rc, ref GLfloat c, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); @@ -11365,7 +20986,95 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void ReplacementCodeuiColor3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, GLfloat[] v) + public static void ReplacementCodeuiColor3fVertex3fvSUN(ref GLuint rc, ref GLfloat c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(ref GLuint rc, ref GLfloat c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(ref GLuint rc, System.IntPtr c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(GLuint[] rc, ref GLfloat c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(ref GLuint rc, System.IntPtr c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(ref GLuint rc, GLfloat[] c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor3fVertex3fvSUN(ref GLuint rc, System.IntPtr c, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -11383,53 +21092,41 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN(rc, r, g, b, a, nx, ny, nz, x, y, z); } - public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, System.IntPtr n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, v); - } - finally - { - h0.Free(); - } - } - public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, System.IntPtr n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat c, ref GLfloat n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); } finally { h0.Free(); h1.Free(); + h2.Free(); } } - public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, System.IntPtr n, System.IntPtr v) { - GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); } finally { @@ -11437,11 +21134,37 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, System.IntPtr n, GLfloat[] v) { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, c, n, v); + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } } - public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, System.IntPtr n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -11465,20 +21188,34 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, System.IntPtr n, System.IntPtr v) { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, c, n, v); + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, c, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); } finally { h0.Free(); h1.Free(); - h2.Free(); } } public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, System.IntPtr n, GLfloat[] v) @@ -11497,46 +21234,14 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, ref GLfloat n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, GLfloat[] n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); - GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - h2.Free(); - h3.Free(); - } - } - public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, GLfloat[] n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); } finally { @@ -11545,13 +21250,13 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, ref GLfloat n, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); } finally { @@ -11559,16 +21264,20 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, ref GLfloat n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, v); + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); } finally { h0.Free(); + h1.Free(); + h2.Free(); } } public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, GLfloat[] n, GLfloat[] v) @@ -11601,45 +21310,1035 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void ReplacementCodeuiColor4ubVertex3fSUN(GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr c, GLfloat[] n, ref GLfloat v) { - Delegates.glReplacementCodeuiColor4ubVertex3fSUN(rc, r, g, b, a, x, y, z); + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } } - public static void ReplacementCodeuiColor4ubVertex3fvSUN(System.IntPtr rc, GLubyte[] c, System.IntPtr v) + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat c, System.IntPtr n, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(rc, h0.AddrOfPinnedObject(), v); + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, v); } finally { h0.Free(); } } - public static void ReplacementCodeuiColor4ubVertex3fvSUN(System.IntPtr rc, System.IntPtr c, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(rc, c, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } - public static void ReplacementCodeuiColor4ubVertex3fvSUN(System.IntPtr rc, System.IntPtr c, System.IntPtr v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(rc, c, v); - } - public static void ReplacementCodeuiColor4ubVertex3fvSUN(System.IntPtr rc, GLubyte[] c, GLfloat[] v) + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat c, System.IntPtr n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, c, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fSUN(GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) + { + Delegates.glReplacementCodeuiColor4ubVertex3fSUN(rc, r, g, b, a, x, y, z); + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(GLuint[] rc, System.IntPtr c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); } finally { @@ -11673,6 +22372,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(GLuint[] rc, GLubyte[] c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } public static void ReplacementCodeuiColor4ubVertex3fvSUN(GLuint[] rc, GLubyte[] c, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); @@ -11703,51 +22418,297 @@ namespace OpenTK.OpenGL h1.Free(); } } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(System.IntPtr rc, GLubyte[] c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(System.IntPtr rc, GLubyte[] c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(System.IntPtr rc, GLubyte[] c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(rc, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(System.IntPtr rc, ref GLubyte c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(System.IntPtr rc, ref GLubyte c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(System.IntPtr rc, ref GLubyte c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(rc, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(ref GLuint rc, GLubyte[] c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(ref GLuint rc, GLubyte[] c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(ref GLuint rc, GLubyte[] c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(ref GLuint rc, ref GLubyte c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(ref GLuint rc, ref GLubyte c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(ref GLuint rc, ref GLubyte c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(GLuint[] rc, ref GLubyte c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(GLuint[] rc, ref GLubyte c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(GLuint[] rc, ref GLubyte c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(ref GLuint rc, System.IntPtr c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(ref GLuint rc, System.IntPtr c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(ref GLuint rc, System.IntPtr c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), c, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(System.IntPtr rc, System.IntPtr c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(rc, c, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(System.IntPtr rc, System.IntPtr c, System.IntPtr v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(rc, c, v); + } + public static void ReplacementCodeuiColor4ubVertex3fvSUN(System.IntPtr rc, System.IntPtr c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN(rc, c, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ReplacementCodeuiNormal3fVertex3fSUN(GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) { Delegates.glReplacementCodeuiNormal3fVertex3fSUN(rc, nx, ny, nz, x, y, z); } - public static void ReplacementCodeuiNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, v); - } - finally - { - h0.Free(); - } - } - public static void ReplacementCodeuiNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void ReplacementCodeuiNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void ReplacementCodeuiNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] n, GLfloat[] v) + public static void ReplacementCodeuiNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); @@ -11763,7 +22724,23 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void ReplacementCodeuiNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] n, System.IntPtr v) + public static void ReplacementCodeuiNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat n, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); @@ -11777,9 +22754,63 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void ReplacementCodeuiNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr n, System.IntPtr v) + public static void ReplacementCodeuiNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr n, GLfloat[] v) { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(rc, n, v); + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } } public static void ReplacementCodeuiNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr n, GLfloat[] v) { @@ -11793,6 +22824,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(rc, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ReplacementCodeuiNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] n, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); @@ -11805,6 +22848,238 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr n, System.IntPtr v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(rc, n, v); + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } public static void ReplacementCodeuiSUN(GLuint code) { Delegates.glReplacementCodeuiSUN(code); @@ -11813,6 +23088,2722 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(rc, s, t, r, g, b, a, nx, ny, nz, x, y, z); } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, n, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, n, v); + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, n, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); @@ -11825,6 +25816,136 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); @@ -11859,91 +25980,7 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - h2.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), v); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, n, h1.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, n, v); - } - finally - { - h0.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); @@ -11959,21 +25996,77 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); } finally { h0.Free(); h1.Free(); + h2.Free(); + h3.Free(); } } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); @@ -11989,6 +26082,288 @@ namespace OpenTK.OpenGL h2.Free(); } } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), c, n, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); @@ -12005,6 +26380,620 @@ namespace OpenTK.OpenGL h2.Free(); } } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + h4.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); @@ -12039,139 +27028,7 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); - GCHandle h4 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), h4.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - h2.Free(); - h3.Free(); - h4.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h3 = GCHandle.Alloc(n, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject(), v); - } - finally - { - h0.Free(); - h1.Free(); - h2.Free(); - h3.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), n, h3.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - h2.Free(); - h3.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); - } - finally - { - h0.Free(); - h1.Free(); - h2.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - h2.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), n, v); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, h2.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - h2.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), c, n, v); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); @@ -12189,14 +27046,32 @@ namespace OpenTK.OpenGL h3.Free(); } } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); } finally { @@ -12205,111 +27080,113 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) { - GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, h0.AddrOfPinnedObject(), v); - } - finally - { - h0.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, n, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, n, v); - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); } finally { h0.Free(); h1.Free(); + h2.Free(); + h3.Free(); } } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); } finally { h0.Free(); h1.Free(); + h2.Free(); + h3.Free(); } } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); } finally { h0.Free(); h1.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), n, v); - } - finally - { - h0.Free(); + h2.Free(); } } public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) { Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(rc, s, t, nx, ny, nz, x, y, z); } - public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr n, System.IntPtr v) + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, ref GLfloat n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, v); + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, n, v); } finally { h0.Free(); } } - public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr n, GLfloat[] v) + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr n, ref GLfloat v) { - GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, n, h1.AddrOfPinnedObject()); } finally { @@ -12317,7 +27194,21 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] n, System.IntPtr v) + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, GLfloat[] n, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); @@ -12331,13 +27222,13 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] n, GLfloat[] v) + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, System.IntPtr n, ref GLfloat v) { - GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); } finally { @@ -12345,35 +27236,7 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr n, System.IntPtr v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, n, v); - } - public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, n, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), v); - } - finally - { - h0.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] n, GLfloat[] v) + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, GLfloat[] n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); @@ -12389,6 +27252,66 @@ namespace OpenTK.OpenGL h2.Free(); } } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); @@ -12405,38 +27328,6 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); - GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - h2.Free(); - h3.Free(); - } - } public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] n, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); @@ -12453,30 +27344,20 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr n, GLfloat[] v) + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, n, h1.AddrOfPinnedObject()); + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); } finally { h0.Free(); h1.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, n, v); - } - finally - { - h0.Free(); + h2.Free(); } } public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] n, GLfloat[] v) @@ -12509,10 +27390,1076 @@ namespace OpenTK.OpenGL h1.Free(); } } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr n, System.IntPtr v) + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, n, v); + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, n, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } public static void ReplacementCodeuiTexCoord2fVertex3fSUN(GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z) { Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN(rc, s, t, x, y, z); } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); @@ -12539,31 +28486,47 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] v) + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(System.IntPtr rc, GLfloat[] tc, ref GLfloat v) { - GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject()); + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(System.IntPtr rc, ref GLfloat tc, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(rc, h0.AddrOfPinnedObject(), v); } finally { h0.Free(); } } - public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); - try - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, v); - } - finally - { - h0.Free(); - } - } - public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, GLfloat[] v) + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); @@ -12579,7 +28542,39 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(GLuint[] rc, GLfloat[] tc, System.IntPtr v) + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(ref GLuint rc, GLfloat[] tc, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); @@ -12593,7 +28588,99 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(GLuint[] rc, System.IntPtr tc, GLfloat[] v) + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(ref GLuint rc, ref GLfloat tc, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(GLuint[] rc, ref GLfloat tc, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -12607,14 +28694,88 @@ namespace OpenTK.OpenGL h1.Free(); } } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(ref GLuint rc, System.IntPtr tc, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), tc, v); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, System.IntPtr v) { Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(rc, tc, v); } + public static void ReplacementCodeuiTexCoord2fVertex3fvSUN(System.IntPtr rc, System.IntPtr tc, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN(rc, tc, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ReplacementCodeuiVertex3fSUN(GLuint rc, GLfloat x, GLfloat y, GLfloat z) { Delegates.glReplacementCodeuiVertex3fSUN(rc, x, y, z); } + public static void ReplacementCodeuiVertex3fvSUN(System.IntPtr rc, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiVertex3fvSUN(rc, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void ReplacementCodeuiVertex3fvSUN(GLuint[] rc, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiVertex3fvSUN(h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } public static void ReplacementCodeuiVertex3fvSUN(System.IntPtr rc, System.IntPtr v) { Delegates.glReplacementCodeuiVertex3fvSUN(rc, v); @@ -12631,6 +28792,46 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ReplacementCodeuiVertex3fvSUN(ref GLuint rc, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiVertex3fvSUN(ref GLuint rc, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuiVertex3fvSUN(ref GLuint rc, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuiVertex3fvSUN(h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } public static void ReplacementCodeuiVertex3fvSUN(GLuint[] rc, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); @@ -12645,12 +28846,26 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void ReplacementCodeuiVertex3fvSUN(GLuint[] rc, System.IntPtr v) + public static void ReplacementCodeuiVertex3fvSUN(GLuint[] rc, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(rc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glReplacementCodeuiVertex3fvSUN(h0.AddrOfPinnedObject(), v); + Delegates.glReplacementCodeuiVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void ReplacementCodeuivSUN(ref GLuint code) + { + GCHandle h0 = GCHandle.Alloc(code, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeuivSUN(h0.AddrOfPinnedObject()); } finally { @@ -12677,7 +28892,7 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeusSUN(code); } - public static void ReplacementCodeusvSUN(GLushort[] code) + public static void ReplacementCodeusvSUN(ref GLushort code) { GCHandle h0 = GCHandle.Alloc(code, GCHandleType.Pinned); try @@ -12693,9 +28908,17 @@ namespace OpenTK.OpenGL { Delegates.glReplacementCodeusvSUN(code); } - public static void RequestResidentProgramsNV(GLsizei n, System.IntPtr programs) + public static void ReplacementCodeusvSUN(GLushort[] code) { - Delegates.glRequestResidentProgramsNV(n, programs); + GCHandle h0 = GCHandle.Alloc(code, GCHandleType.Pinned); + try + { + Delegates.glReplacementCodeusvSUN(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void RequestResidentProgramsNV(GLsizei n, GLuint[] programs) { @@ -12709,6 +28932,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void RequestResidentProgramsNV(GLsizei n, ref GLuint programs) + { + GCHandle h0 = GCHandle.Alloc(programs, GCHandleType.Pinned); + try + { + Delegates.glRequestResidentProgramsNV(n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void RequestResidentProgramsNV(GLsizei n, System.IntPtr programs) + { + Delegates.glRequestResidentProgramsNV(n, programs); + } public static void ResetHistogram(Enums.VERSION_1_2 target) { Delegates.glResetHistogram(target); @@ -12785,7 +29024,7 @@ namespace OpenTK.OpenGL { Delegates.glSecondaryColor3bEXT(red, green, blue); } - public static void SecondaryColor3bv(GLbyte[] v) + public static void SecondaryColor3bv(ref GLbyte v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -12801,6 +29040,30 @@ namespace OpenTK.OpenGL { Delegates.glSecondaryColor3bv(v); } + public static void SecondaryColor3bv(GLbyte[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3bv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void SecondaryColor3bvEXT(ref GLbyte v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3bvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SecondaryColor3bvEXT(GLbyte[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -12825,6 +29088,10 @@ namespace OpenTK.OpenGL { Delegates.glSecondaryColor3dEXT(red, green, blue); } + public static void SecondaryColor3dv(System.IntPtr v) + { + Delegates.glSecondaryColor3dv(v); + } public static void SecondaryColor3dv(GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -12837,11 +29104,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void SecondaryColor3dv(System.IntPtr v) + public static void SecondaryColor3dv(ref GLdouble v) { - Delegates.glSecondaryColor3dv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } - public static void SecondaryColor3dvEXT(GLdouble[] v) + public static void SecondaryColor3dvEXT(ref GLdouble v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -12857,6 +29132,18 @@ namespace OpenTK.OpenGL { Delegates.glSecondaryColor3dvEXT(v); } + public static void SecondaryColor3dvEXT(GLdouble[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3dvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue) { Delegates.glSecondaryColor3f(red, green, blue); @@ -12865,6 +29152,18 @@ namespace OpenTK.OpenGL { Delegates.glSecondaryColor3fEXT(red, green, blue); } + public static void SecondaryColor3fv(ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SecondaryColor3fv(GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -12881,6 +29180,18 @@ namespace OpenTK.OpenGL { Delegates.glSecondaryColor3fv(v); } + public static void SecondaryColor3fvEXT(ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3fvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SecondaryColor3fvEXT(System.IntPtr v) { Delegates.glSecondaryColor3fvEXT(v); @@ -12901,9 +29212,17 @@ namespace OpenTK.OpenGL { Delegates.glSecondaryColor3hNV(red, green, blue); } - public static void SecondaryColor3hvNV(System.IntPtr v) + public static void SecondaryColor3hvNV(ref GLhalfNV v) { - Delegates.glSecondaryColor3hvNV(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3hvNV(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void SecondaryColor3hvNV(GLhalfNV[] v) { @@ -12917,6 +29236,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void SecondaryColor3hvNV(System.IntPtr v) + { + Delegates.glSecondaryColor3hvNV(v); + } public static void SecondaryColor3i(GLint red, GLint green, GLint blue) { Delegates.glSecondaryColor3i(red, green, blue); @@ -12929,6 +29252,18 @@ namespace OpenTK.OpenGL { Delegates.glSecondaryColor3iv(v); } + public static void SecondaryColor3iv(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SecondaryColor3iv(GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -12941,9 +29276,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void SecondaryColor3ivEXT(System.IntPtr v) + public static void SecondaryColor3ivEXT(ref GLint v) { - Delegates.glSecondaryColor3ivEXT(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3ivEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void SecondaryColor3ivEXT(GLint[] v) { @@ -12957,6 +29300,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void SecondaryColor3ivEXT(System.IntPtr v) + { + Delegates.glSecondaryColor3ivEXT(v); + } public static void SecondaryColor3s(GLshort red, GLshort green, GLshort blue) { Delegates.glSecondaryColor3s(red, green, blue); @@ -12965,6 +29312,18 @@ namespace OpenTK.OpenGL { Delegates.glSecondaryColor3sEXT(red, green, blue); } + public static void SecondaryColor3sv(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SecondaryColor3sv(System.IntPtr v) { Delegates.glSecondaryColor3sv(v); @@ -12981,6 +29340,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void SecondaryColor3svEXT(System.IntPtr v) + { + Delegates.glSecondaryColor3svEXT(v); + } public static void SecondaryColor3svEXT(GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -12993,9 +29356,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void SecondaryColor3svEXT(System.IntPtr v) + public static void SecondaryColor3svEXT(ref GLshort v) { - Delegates.glSecondaryColor3svEXT(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3svEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void SecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue) { @@ -13005,9 +29376,17 @@ namespace OpenTK.OpenGL { Delegates.glSecondaryColor3ubEXT(red, green, blue); } - public static void SecondaryColor3ubv(System.IntPtr v) + public static void SecondaryColor3ubv(ref GLubyte v) { - Delegates.glSecondaryColor3ubv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3ubv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void SecondaryColor3ubv(GLubyte[] v) { @@ -13021,6 +29400,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void SecondaryColor3ubv(System.IntPtr v) + { + Delegates.glSecondaryColor3ubv(v); + } public static void SecondaryColor3ubvEXT(System.IntPtr v) { Delegates.glSecondaryColor3ubvEXT(v); @@ -13037,6 +29420,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void SecondaryColor3ubvEXT(ref GLubyte v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3ubvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SecondaryColor3ui(GLuint red, GLuint green, GLuint blue) { Delegates.glSecondaryColor3ui(red, green, blue); @@ -13045,6 +29440,22 @@ namespace OpenTK.OpenGL { Delegates.glSecondaryColor3uiEXT(red, green, blue); } + public static void SecondaryColor3uiv(System.IntPtr v) + { + Delegates.glSecondaryColor3uiv(v); + } + public static void SecondaryColor3uiv(ref GLuint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3uiv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SecondaryColor3uiv(GLuint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -13057,10 +29468,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void SecondaryColor3uiv(System.IntPtr v) - { - Delegates.glSecondaryColor3uiv(v); - } public static void SecondaryColor3uivEXT(System.IntPtr v) { Delegates.glSecondaryColor3uivEXT(v); @@ -13077,6 +29484,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void SecondaryColor3uivEXT(ref GLuint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3uivEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SecondaryColor3us(GLushort red, GLushort green, GLushort blue) { Delegates.glSecondaryColor3us(red, green, blue); @@ -13101,6 +29520,30 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void SecondaryColor3usv(ref GLushort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3usv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void SecondaryColor3usvEXT(ref GLushort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glSecondaryColor3usvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SecondaryColor3usvEXT(GLushort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -13117,6 +29560,10 @@ namespace OpenTK.OpenGL { Delegates.glSecondaryColor3usvEXT(v); } + public static void SecondaryColorPointer(GLint size, Enums.ColorPointerType type, GLsizei stride, System.IntPtr pointer) + { + Delegates.glSecondaryColorPointer(size, type, stride, pointer); + } public static void SecondaryColorPointer(GLint size, Enums.ColorPointerType type, GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -13129,14 +29576,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void SecondaryColorPointer(GLint size, Enums.ColorPointerType type, GLsizei stride, System.IntPtr pointer) - { - Delegates.glSecondaryColorPointer(size, type, stride, pointer); - } - public static void SecondaryColorPointerEXT(GLint size, Enums.ColorPointerType type, GLsizei stride, System.IntPtr pointer) - { - Delegates.glSecondaryColorPointerEXT(size, type, stride, pointer); - } public static void SecondaryColorPointerEXT(GLint size, Enums.ColorPointerType type, GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -13149,17 +29588,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void SecondaryColorPointerListIBM(GLint size, Enums.IBM_vertex_array_lists type, GLint stride, IntPtr[] pointer, GLint ptrstride) + public static void SecondaryColorPointerEXT(GLint size, Enums.ColorPointerType type, GLsizei stride, System.IntPtr pointer) { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glSecondaryColorPointerListIBM(size, type, stride, h0.AddrOfPinnedObject(), ptrstride); - } - finally - { - h0.Free(); - } + Delegates.glSecondaryColorPointerEXT(size, type, stride, pointer); } public static void SecondaryColorPointerListIBM(GLint size, Enums.IBM_vertex_array_lists type, GLint stride, System.IntPtr pointer, GLint ptrstride) { @@ -13181,6 +29612,36 @@ namespace OpenTK.OpenGL { Delegates.glSelectBuffer(size, buffer); } + public static void SelectBuffer(GLsizei size, out GLuint buffer) + { + buffer = default(GLuint); + GCHandle h0 = GCHandle.Alloc(buffer, GCHandleType.Pinned); + try + { + Delegates.glSelectBuffer(size, h0.AddrOfPinnedObject()); + buffer = (GLuint)h0.Target; + } + finally + { + h0.Free(); + } + } + public static void SeparableFilter2D(Enums.VERSION_1_2 target, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr row, object column) + { + GCHandle h0 = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2D(target, internalformat, width, height, format, type, row, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void SeparableFilter2D(Enums.VERSION_1_2 target, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr row, System.IntPtr column) + { + Delegates.glSeparableFilter2D(target, internalformat, width, height, format, type, row, column); + } public static void SeparableFilter2D(Enums.VERSION_1_2 target, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, object row, System.IntPtr column) { GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); @@ -13207,38 +29668,6 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void SeparableFilter2D(Enums.VERSION_1_2 target, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr row, System.IntPtr column) - { - Delegates.glSeparableFilter2D(target, internalformat, width, height, format, type, row, column); - } - public static void SeparableFilter2D(Enums.VERSION_1_2 target, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr row, object column) - { - GCHandle h0 = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2D(target, internalformat, width, height, format, type, row, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } - public static void SeparableFilter2DEXT(Enums.SeparableTargetEXT target, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr row, object column) - { - GCHandle h0 = GCHandle.Alloc(column, GCHandleType.Pinned); - try - { - Delegates.glSeparableFilter2DEXT(target, internalformat, width, height, format, type, row, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } - public static void SeparableFilter2DEXT(Enums.SeparableTargetEXT target, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr row, System.IntPtr column) - { - Delegates.glSeparableFilter2DEXT(target, internalformat, width, height, format, type, row, column); - } public static void SeparableFilter2DEXT(Enums.SeparableTargetEXT target, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, object row, object column) { GCHandle h0 = GCHandle.Alloc(row, GCHandleType.Pinned); @@ -13265,6 +29694,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void SeparableFilter2DEXT(Enums.SeparableTargetEXT target, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr row, System.IntPtr column) + { + Delegates.glSeparableFilter2DEXT(target, internalformat, width, height, format, type, row, column); + } + public static void SeparableFilter2DEXT(Enums.SeparableTargetEXT target, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr row, object column) + { + GCHandle h0 = GCHandle.Alloc(column, GCHandleType.Pinned); + try + { + Delegates.glSeparableFilter2DEXT(target, internalformat, width, height, format, type, row, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SetFenceAPPLE(GLuint fence) { Delegates.glSetFenceAPPLE(fence); @@ -13273,7 +29718,7 @@ namespace OpenTK.OpenGL { Delegates.glSetFenceNV(fence, condition); } - public static void SetFragmentShaderConstantATI(GLuint dst, GLfloat[] value) + public static void SetFragmentShaderConstantATI(GLuint dst, ref GLfloat value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); try @@ -13289,6 +29734,18 @@ namespace OpenTK.OpenGL { Delegates.glSetFragmentShaderConstantATI(dst, value); } + public static void SetFragmentShaderConstantATI(GLuint dst, GLfloat[] value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glSetFragmentShaderConstantATI(dst, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SetInvariantEXT(GLuint id, Enums.EXT_vertex_shader type, object addr) { GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); @@ -13305,10 +29762,6 @@ namespace OpenTK.OpenGL { Delegates.glSetInvariantEXT(id, type, addr); } - public static void SetLocalConstantEXT(GLuint id, Enums.EXT_vertex_shader type, System.IntPtr addr) - { - Delegates.glSetLocalConstantEXT(id, type, addr); - } public static void SetLocalConstantEXT(GLuint id, Enums.EXT_vertex_shader type, object addr) { GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); @@ -13321,6 +29774,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void SetLocalConstantEXT(GLuint id, Enums.EXT_vertex_shader type, System.IntPtr addr) + { + Delegates.glSetLocalConstantEXT(id, type, addr); + } public static void ShadeModel(Enums.ShadingModel mode) { Delegates.glShadeModel(mode); @@ -13341,6 +29798,18 @@ namespace OpenTK.OpenGL { Delegates.glShaderSource(shader, count, @string, length); } + public static void ShaderSource(GLuint shader, GLsizei count, string[] @string, ref GLint length) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + try + { + Delegates.glShaderSource(shader, count, @string, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ShaderSource(GLuint shader, GLsizei count, string[] @string, GLint[] length) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); @@ -13353,11 +29822,23 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void ShaderSourceARB(GLhandleARB shaderObj, GLsizei count, string[] @string, GLint[] length) + { + GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); + try + { + Delegates.glShaderSourceARB(shaderObj, count, @string, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void ShaderSourceARB(GLhandleARB shaderObj, GLsizei count, string[] @string, System.IntPtr length) { Delegates.glShaderSourceARB(shaderObj, count, @string, length); } - public static void ShaderSourceARB(GLhandleARB shaderObj, GLsizei count, string[] @string, GLint[] length) + public static void ShaderSourceARB(GLhandleARB shaderObj, GLsizei count, string[] @string, ref GLint length) { GCHandle h0 = GCHandle.Alloc(length, GCHandleType.Pinned); try @@ -13381,6 +29862,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void SharpenTexFuncSGIS(Enums.TextureTarget target, GLsizei n, ref GLfloat points) + { + GCHandle h0 = GCHandle.Alloc(points, GCHandleType.Pinned); + try + { + Delegates.glSharpenTexFuncSGIS(target, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SharpenTexFuncSGIS(Enums.TextureTarget target, GLsizei n, System.IntPtr points) { Delegates.glSharpenTexFuncSGIS(target, n, points); @@ -13389,7 +29882,7 @@ namespace OpenTK.OpenGL { Delegates.glSpriteParameterfSGIX(pname, param); } - public static void SpriteParameterfvSGIX(Enums.SGIX_sprite pname, GLfloat[] @params) + public static void SpriteParameterfvSGIX(Enums.SGIX_sprite pname, ref GLfloat @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -13405,10 +29898,34 @@ namespace OpenTK.OpenGL { Delegates.glSpriteParameterfvSGIX(pname, @params); } + public static void SpriteParameterfvSGIX(Enums.SGIX_sprite pname, GLfloat[] @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glSpriteParameterfvSGIX(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SpriteParameteriSGIX(Enums.SGIX_sprite pname, GLint param) { Delegates.glSpriteParameteriSGIX(pname, param); } + public static void SpriteParameterivSGIX(Enums.SGIX_sprite pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glSpriteParameterivSGIX(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void SpriteParameterivSGIX(Enums.SGIX_sprite pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -13497,11 +30014,23 @@ namespace OpenTK.OpenGL { Delegates.glTangent3bEXT(tx, ty, tz); } + public static void Tangent3bvEXT(GLbyte[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTangent3bvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Tangent3bvEXT(System.IntPtr v) { Delegates.glTangent3bvEXT(v); } - public static void Tangent3bvEXT(GLbyte[] v) + public static void Tangent3bvEXT(ref GLbyte v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -13533,6 +30062,18 @@ namespace OpenTK.OpenGL { Delegates.glTangent3dvEXT(v); } + public static void Tangent3dvEXT(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTangent3dvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Tangent3fEXT(GLfloat tx, GLfloat ty, GLfloat tz) { Delegates.glTangent3fEXT(tx, ty, tz); @@ -13541,6 +30082,18 @@ namespace OpenTK.OpenGL { Delegates.glTangent3fvEXT(v); } + public static void Tangent3fvEXT(ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTangent3fvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Tangent3fvEXT(GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -13557,6 +30110,18 @@ namespace OpenTK.OpenGL { Delegates.glTangent3iEXT(tx, ty, tz); } + public static void Tangent3ivEXT(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTangent3ivEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Tangent3ivEXT(System.IntPtr v) { Delegates.glTangent3ivEXT(v); @@ -13581,6 +30146,18 @@ namespace OpenTK.OpenGL { Delegates.glTangent3svEXT(v); } + public static void Tangent3svEXT(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTangent3svEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Tangent3svEXT(GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -13625,10 +30202,14 @@ namespace OpenTK.OpenGL { return Delegates.glTestObjectAPPLE(@object, name); } - public static void TexBufferEXT(Enums.TextureTarget target, Enums.EXT_texture_buffer_object internalformat, GLuint buffer) + public static void TexBufferEXT(Enums.TextureTarget target, Enums.GLenum internalformat, GLuint buffer) { Delegates.glTexBufferEXT(target, internalformat, buffer); } + public static void TexBumpParameterfvATI(Enums.ATI_envmap_bumpmap pname, System.IntPtr param) + { + Delegates.glTexBumpParameterfvATI(pname, param); + } public static void TexBumpParameterfvATI(Enums.ATI_envmap_bumpmap pname, GLfloat[] param) { GCHandle h0 = GCHandle.Alloc(param, GCHandleType.Pinned); @@ -13641,9 +30222,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexBumpParameterfvATI(Enums.ATI_envmap_bumpmap pname, System.IntPtr param) + public static void TexBumpParameterfvATI(Enums.ATI_envmap_bumpmap pname, ref GLfloat param) { - Delegates.glTexBumpParameterfvATI(pname, param); + GCHandle h0 = GCHandle.Alloc(param, GCHandleType.Pinned); + try + { + Delegates.glTexBumpParameterfvATI(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexBumpParameterivATI(Enums.ATI_envmap_bumpmap pname, ref GLint param) + { + GCHandle h0 = GCHandle.Alloc(param, GCHandleType.Pinned); + try + { + Delegates.glTexBumpParameterivATI(pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void TexBumpParameterivATI(Enums.ATI_envmap_bumpmap pname, System.IntPtr param) { @@ -13665,11 +30266,23 @@ namespace OpenTK.OpenGL { Delegates.glTexCoord1d(s); } + public static void TexCoord1dv(GLdouble[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord1dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord1dv(System.IntPtr v) { Delegates.glTexCoord1dv(v); } - public static void TexCoord1dv(GLdouble[] v) + public static void TexCoord1dv(ref GLdouble v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -13685,10 +30298,6 @@ namespace OpenTK.OpenGL { Delegates.glTexCoord1f(s); } - public static void TexCoord1fv(System.IntPtr v) - { - Delegates.glTexCoord1fv(v); - } public static void TexCoord1fv(GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -13701,10 +30310,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void TexCoord1fv(ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord1fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexCoord1fv(System.IntPtr v) + { + Delegates.glTexCoord1fv(v); + } public static void TexCoord1hNV(GLhalfNV s) { Delegates.glTexCoord1hNV(s); } + public static void TexCoord1hvNV(ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord1hvNV(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord1hvNV(System.IntPtr v) { Delegates.glTexCoord1hvNV(v); @@ -13725,9 +30362,17 @@ namespace OpenTK.OpenGL { Delegates.glTexCoord1i(s); } - public static void TexCoord1iv(System.IntPtr v) + public static void TexCoord1iv(ref GLint v) { - Delegates.glTexCoord1iv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord1iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void TexCoord1iv(GLint[] v) { @@ -13741,10 +30386,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void TexCoord1iv(System.IntPtr v) + { + Delegates.glTexCoord1iv(v); + } public static void TexCoord1s(GLshort s) { Delegates.glTexCoord1s(s); } + public static void TexCoord1sv(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord1sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord1sv(System.IntPtr v) { Delegates.glTexCoord1sv(v); @@ -13765,6 +30426,18 @@ namespace OpenTK.OpenGL { Delegates.glTexCoord2d(s, t); } + public static void TexCoord2dv(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord2dv(System.IntPtr v) { Delegates.glTexCoord2dv(v); @@ -13789,7 +30462,97 @@ namespace OpenTK.OpenGL { Delegates.glTexCoord2fColor3fVertex3fSUN(s, t, r, g, b, x, y, z); } - public static void TexCoord2fColor3fVertex3fvSUN(GLfloat[] tc, GLfloat[] c, System.IntPtr v) + public static void TexCoord2fColor3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr v) + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(tc, c, v); + } + public static void TexCoord2fColor3fVertex3fvSUN(ref GLfloat tc, ref GLfloat c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(tc, c, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(GLfloat[] tc, ref GLfloat c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(ref GLfloat tc, System.IntPtr c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(ref GLfloat tc, System.IntPtr c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(GLfloat[] tc, GLfloat[] c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(GLfloat[] tc, ref GLfloat c, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); @@ -13803,6 +30566,112 @@ namespace OpenTK.OpenGL h1.Free(); } } + public static void TexCoord2fColor3fVertex3fvSUN(GLfloat[] tc, ref GLfloat c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(ref GLfloat tc, GLfloat[] c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(ref GLfloat tc, ref GLfloat c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(ref GLfloat tc, ref GLfloat c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(ref GLfloat tc, System.IntPtr c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(ref GLfloat tc, GLfloat[] c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(ref GLfloat tc, GLfloat[] c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } public static void TexCoord2fColor3fVertex3fvSUN(GLfloat[] tc, GLfloat[] c, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); @@ -13819,33 +30688,7 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void TexCoord2fColor3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); - try - { - Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, v); - } - finally - { - h0.Free(); - } - } - public static void TexCoord2fColor3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void TexCoord2fColor3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, GLfloat[] v) + public static void TexCoord2fColor3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -13859,11 +30702,33 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void TexCoord2fColor3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr v) + public static void TexCoord2fColor3fVertex3fvSUN(System.IntPtr tc, ref GLfloat c, System.IntPtr v) { - Delegates.glTexCoord2fColor3fVertex3fvSUN(tc, c, v); + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } } - public static void TexCoord2fColor3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] v) + public static void TexCoord2fColor3fVertex3fvSUN(System.IntPtr tc, ref GLfloat c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -13887,17 +30752,13 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexCoord2fColor4fNormal3fVertex3fSUN(GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) - { - Delegates.glTexCoord2fColor4fNormal3fVertex3fSUN(s, t, r, g, b, a, nx, ny, nz, x, y, z); - } - public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + public static void TexCoord2fColor3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + Delegates.glTexCoord2fColor3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); } finally { @@ -13905,7 +30766,97 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + public static void TexCoord2fColor3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(GLfloat[] tc, GLfloat[] c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(System.IntPtr tc, ref GLfloat c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fSUN(GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fSUN(s, t, r, g, b, a, nx, ny, nz, x, y, z); + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); try @@ -13917,42 +30868,50 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); } finally { h0.Free(); h1.Free(); + h2.Free(); + h3.Free(); } } - public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); } finally { h0.Free(); h1.Free(); + h2.Free(); + h3.Free(); } } - public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); try { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); } finally { @@ -13961,61 +30920,39 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) { - GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, n, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } - public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) - { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, n, v); - } - public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); - try - { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, h0.AddrOfPinnedObject(), v); - } - finally - { - h0.Free(); - } - } - public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); - try - { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), n, v); - } - finally - { - h0.Free(); - } - } - public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); } finally { h0.Free(); h1.Free(); + h2.Free(); } } - public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); @@ -14029,7 +30966,71 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); @@ -14063,6 +31064,824 @@ namespace OpenTK.OpenGL h3.Free(); } } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(ref GLfloat tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, n, v); + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, c, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); @@ -14079,7 +31898,7 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); @@ -14109,23 +31928,215 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void TexCoord2fColor4ubVertex3fSUN(GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) { - Delegates.glTexCoord2fColor4ubVertex3fSUN(s, t, r, g, b, a, x, y, z); - } - public static void TexCoord2fColor4ubVertex3fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord2fColor4ubVertex3fvSUN(tc, c, h0.AddrOfPinnedObject()); + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, v); } finally { h0.Free(); } } - public static void TexCoord2fColor4ubVertex3fvSUN(GLfloat[] tc, GLubyte[] c, System.IntPtr v) + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4fNormal3fVertex3fvSUN(System.IntPtr tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fSUN(GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) + { + Delegates.glTexCoord2fColor4ubVertex3fSUN(s, t, r, g, b, a, x, y, z); + } + public static void TexCoord2fColor4ubVertex3fvSUN(GLfloat[] tc, ref GLubyte c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(ref GLfloat tc, System.IntPtr c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), c, v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(ref GLfloat tc, System.IntPtr c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(GLfloat[] tc, GLubyte[] c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(GLfloat[] tc, ref GLubyte c, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); @@ -14139,23 +32150,23 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void TexCoord2fColor4ubVertex3fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr v) - { - Delegates.glTexCoord2fColor4ubVertex3fvSUN(tc, c, v); - } - public static void TexCoord2fColor4ubVertex3fvSUN(GLfloat[] tc, System.IntPtr c, System.IntPtr v) + public static void TexCoord2fColor4ubVertex3fvSUN(GLfloat[] tc, ref GLubyte c, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), c, v); + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); } finally { h0.Free(); + h1.Free(); + h2.Free(); } } - public static void TexCoord2fColor4ubVertex3fvSUN(GLfloat[] tc, System.IntPtr c, GLfloat[] v) + public static void TexCoord2fColor4ubVertex3fvSUN(ref GLfloat tc, System.IntPtr c, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -14169,6 +32180,114 @@ namespace OpenTK.OpenGL h1.Free(); } } + public static void TexCoord2fColor4ubVertex3fvSUN(ref GLfloat tc, ref GLubyte c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(ref GLfloat tc, ref GLubyte c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(ref GLfloat tc, ref GLubyte c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(ref GLfloat tc, GLubyte[] c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(ref GLfloat tc, GLubyte[] c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(ref GLfloat tc, GLubyte[] c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(GLfloat[] tc, GLubyte[] c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } public static void TexCoord2fColor4ubVertex3fvSUN(System.IntPtr tc, GLubyte[] c, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); @@ -14195,14 +32314,154 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void TexCoord2fColor4ubVertex3fvSUN(GLfloat[] tc, GLubyte[] c, GLfloat[] v) + public static void TexCoord2fColor4ubVertex3fvSUN(System.IntPtr tc, GLubyte[] c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr v) + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(tc, c, v); + } + public static void TexCoord2fColor4ubVertex3fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(tc, c, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(System.IntPtr tc, System.IntPtr c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(tc, c, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(System.IntPtr tc, ref GLubyte c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(tc, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(GLfloat[] tc, System.IntPtr c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(GLfloat[] tc, System.IntPtr c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(GLfloat[] tc, GLubyte[] c, System.IntPtr v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(System.IntPtr tc, ref GLubyte c, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(System.IntPtr tc, ref GLubyte c, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fColor4ubVertex3fvSUN(GLfloat[] tc, System.IntPtr c, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), c, v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fSUN(GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) + { + Delegates.glTexCoord2fNormal3fVertex3fSUN(s, t, nx, ny, nz, x, y, z); + } + public static void TexCoord2fNormal3fVertex3fvSUN(GLfloat[] tc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord2fColor4ubVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); } finally { @@ -14211,9 +32470,199 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void TexCoord2fNormal3fVertex3fSUN(GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) + public static void TexCoord2fNormal3fVertex3fvSUN(ref GLfloat tc, System.IntPtr n, System.IntPtr v) { - Delegates.glTexCoord2fNormal3fVertex3fSUN(s, t, nx, ny, nz, x, y, z); + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(ref GLfloat tc, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(GLfloat[] tc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(GLfloat[] tc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(GLfloat[] tc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(ref GLfloat tc, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(ref GLfloat tc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(ref GLfloat tc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(ref GLfloat tc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(ref GLfloat tc, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(ref GLfloat tc, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(ref GLfloat tc, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(GLfloat[] tc, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } } public static void TexCoord2fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] n, System.IntPtr v) { @@ -14227,30 +32676,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexCoord2fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr n, GLfloat[] v) - { - GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); - try - { - Delegates.glTexCoord2fNormal3fVertex3fvSUN(tc, n, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } - public static void TexCoord2fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); - try - { - Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, v); - } - finally - { - h0.Free(); - } - } public static void TexCoord2fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); @@ -14265,20 +32690,58 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void TexCoord2fNormal3fVertex3fvSUN(GLfloat[] tc, GLfloat[] n, GLfloat[] v) + public static void TexCoord2fNormal3fVertex3fvSUN(System.IntPtr tc, GLfloat[] n, ref GLfloat v) { - GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + Delegates.glTexCoord2fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); } finally { h0.Free(); h1.Free(); - h2.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr n, System.IntPtr v) + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(tc, n, v); + } + public static void TexCoord2fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(tc, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(tc, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(System.IntPtr tc, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); } } public static void TexCoord2fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr n, GLfloat[] v) @@ -14295,9 +32758,19 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void TexCoord2fNormal3fVertex3fvSUN(System.IntPtr tc, System.IntPtr n, System.IntPtr v) + public static void TexCoord2fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr n, ref GLfloat v) { - Delegates.glTexCoord2fNormal3fVertex3fvSUN(tc, n, v); + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } } public static void TexCoord2fNormal3fVertex3fvSUN(GLfloat[] tc, GLfloat[] n, System.IntPtr v) { @@ -14313,6 +32786,50 @@ namespace OpenTK.OpenGL h1.Free(); } } + public static void TexCoord2fNormal3fVertex3fvSUN(System.IntPtr tc, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(System.IntPtr tc, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fNormal3fVertex3fvSUN(GLfloat[] tc, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN(h0.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fv(System.IntPtr v) + { + Delegates.glTexCoord2fv(v); + } public static void TexCoord2fv(GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -14325,31 +32842,23 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexCoord2fv(System.IntPtr v) - { - Delegates.glTexCoord2fv(v); - } - public static void TexCoord2fVertex3fSUN(GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z) - { - Delegates.glTexCoord2fVertex3fSUN(s, t, x, y, z); - } - public static void TexCoord2fVertex3fvSUN(System.IntPtr tc, GLfloat[] v) + public static void TexCoord2fv(ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord2fVertex3fvSUN(tc, h0.AddrOfPinnedObject()); + Delegates.glTexCoord2fv(h0.AddrOfPinnedObject()); } finally { h0.Free(); } } - public static void TexCoord2fVertex3fvSUN(System.IntPtr tc, System.IntPtr v) + public static void TexCoord2fVertex3fSUN(GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z) { - Delegates.glTexCoord2fVertex3fvSUN(tc, v); + Delegates.glTexCoord2fVertex3fSUN(s, t, x, y, z); } - public static void TexCoord2fVertex3fvSUN(GLfloat[] tc, GLfloat[] v) + public static void TexCoord2fVertex3fvSUN(ref GLfloat tc, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -14375,10 +32884,104 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void TexCoord2fVertex3fvSUN(GLfloat[] tc, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fVertex3fvSUN(ref GLfloat tc, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fVertex3fvSUN(ref GLfloat tc, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fVertex3fvSUN(System.IntPtr tc, System.IntPtr v) + { + Delegates.glTexCoord2fVertex3fvSUN(tc, v); + } + public static void TexCoord2fVertex3fvSUN(GLfloat[] tc, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fVertex3fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord2fVertex3fvSUN(System.IntPtr tc, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fVertex3fvSUN(tc, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexCoord2fVertex3fvSUN(System.IntPtr tc, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2fVertex3fvSUN(tc, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord2hNV(GLhalfNV s, GLhalfNV t) { Delegates.glTexCoord2hNV(s, t); } + public static void TexCoord2hvNV(ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2hvNV(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord2hvNV(System.IntPtr v) { Delegates.glTexCoord2hvNV(v); @@ -14411,6 +33014,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void TexCoord2iv(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord2iv(System.IntPtr v) { Delegates.glTexCoord2iv(v); @@ -14419,6 +33034,18 @@ namespace OpenTK.OpenGL { Delegates.glTexCoord2s(s, t); } + public static void TexCoord2sv(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord2sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord2sv(System.IntPtr v) { Delegates.glTexCoord2sv(v); @@ -14439,6 +33066,18 @@ namespace OpenTK.OpenGL { Delegates.glTexCoord3d(s, t, r); } + public static void TexCoord3dv(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord3dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord3dv(System.IntPtr v) { Delegates.glTexCoord3dv(v); @@ -14459,6 +33098,18 @@ namespace OpenTK.OpenGL { Delegates.glTexCoord3f(s, t, r); } + public static void TexCoord3fv(ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord3fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord3fv(GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -14479,6 +33130,10 @@ namespace OpenTK.OpenGL { Delegates.glTexCoord3hNV(s, t, r); } + public static void TexCoord3hvNV(System.IntPtr v) + { + Delegates.glTexCoord3hvNV(v); + } public static void TexCoord3hvNV(GLhalfNV[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -14491,9 +33146,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexCoord3hvNV(System.IntPtr v) + public static void TexCoord3hvNV(ref GLhalfNV v) { - Delegates.glTexCoord3hvNV(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord3hvNV(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void TexCoord3i(GLint s, GLint t, GLint r) { @@ -14515,10 +33178,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void TexCoord3iv(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord3iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord3s(GLshort s, GLshort t, GLshort r) { Delegates.glTexCoord3s(s, t, r); } + public static void TexCoord3sv(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord3sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord3sv(GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -14551,6 +33238,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void TexCoord4dv(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord4dv(System.IntPtr v) { Delegates.glTexCoord4dv(v); @@ -14563,13 +33262,29 @@ namespace OpenTK.OpenGL { Delegates.glTexCoord4fColor4fNormal3fVertex4fSUN(s, t, p, q, r, g, b, a, nx, ny, nz, x, y, z, w); } - public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); } finally { @@ -14577,17 +33292,29 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, n, v); + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } } - public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) { - GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); } finally { @@ -14595,6 +33322,84 @@ namespace OpenTK.OpenGL h1.Free(); } } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); @@ -14611,42 +33416,50 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); } finally { h0.Free(); h1.Free(); + h2.Free(); } } - public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) { - GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), n, v); + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); } finally { h0.Free(); + h1.Free(); + h2.Free(); } } - public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) { - GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); try { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, n, h0.AddrOfPinnedObject()); + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); } finally { h0.Free(); + h1.Free(); } } public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) @@ -14665,13 +33478,45 @@ namespace OpenTK.OpenGL h2.Free(); } } - public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) { - GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); } finally { @@ -14679,7 +33524,35 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); @@ -14707,40 +33580,14 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); try { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); - } - finally - { - h0.Free(); - h1.Free(); - } - } - public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); - try - { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, h0.AddrOfPinnedObject(), v); - } - finally - { - h0.Free(); - } - } - public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) - { - GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); - GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); - GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); - try - { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); } finally { @@ -14749,6 +33596,20 @@ namespace OpenTK.OpenGL h2.Free(); } } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); @@ -14763,7 +33624,109 @@ namespace OpenTK.OpenGL h1.Free(); } } - public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); @@ -14781,6 +33744,764 @@ namespace OpenTK.OpenGL h3.Free(); } } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, GLfloat[] c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, GLfloat[] c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, GLfloat[] c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, GLfloat[] c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, GLfloat[] c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, ref GLfloat c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, ref GLfloat c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, ref GLfloat c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, ref GLfloat c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, ref GLfloat c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, GLfloat[] c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, GLfloat[] c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, ref GLfloat c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, GLfloat[] c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, ref GLfloat c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, ref GLfloat c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(GLfloat[] tc, ref GLfloat c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(c, GCHandleType.Pinned); + GCHandle h2 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h3 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject(), h2.AddrOfPinnedObject(), h3.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + h2.Free(); + h3.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, n, h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(ref GLfloat tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(h0.AddrOfPinnedObject(), c, n, v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, System.IntPtr c, GLfloat[] n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr n, System.IntPtr v) + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, n, v); + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, System.IntPtr c, System.IntPtr n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, System.IntPtr c, ref GLfloat n, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, System.IntPtr c, ref GLfloat n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, GLfloat[] c, System.IntPtr n, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(c, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, h0.AddrOfPinnedObject(), n, v); + } + finally + { + h0.Free(); + } + } + public static void TexCoord4fColor4fNormal3fVertex4fvSUN(System.IntPtr tc, System.IntPtr c, ref GLfloat n, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(n, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN(tc, c, h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fv(System.IntPtr v) + { + Delegates.glTexCoord4fv(v); + } public static void TexCoord4fv(GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -14793,18 +34514,22 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexCoord4fv(System.IntPtr v) + public static void TexCoord4fv(ref GLfloat v) { - Delegates.glTexCoord4fv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void TexCoord4fVertex4fSUN(GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { Delegates.glTexCoord4fVertex4fSUN(s, t, p, q, x, y, z, w); } - public static void TexCoord4fVertex4fvSUN(System.IntPtr tc, System.IntPtr v) - { - Delegates.glTexCoord4fVertex4fvSUN(tc, v); - } public static void TexCoord4fVertex4fvSUN(GLfloat[] tc, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); @@ -14843,10 +34568,92 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void TexCoord4fVertex4fvSUN(System.IntPtr tc, System.IntPtr v) + { + Delegates.glTexCoord4fVertex4fvSUN(tc, v); + } + public static void TexCoord4fVertex4fvSUN(System.IntPtr tc, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fVertex4fvSUN(tc, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexCoord4fVertex4fvSUN(GLfloat[] tc, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fVertex4fvSUN(ref GLfloat tc, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fVertex4fvSUN(ref GLfloat tc, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + GCHandle h1 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fVertex4fvSUN(h0.AddrOfPinnedObject(), h1.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + h1.Free(); + } + } + public static void TexCoord4fVertex4fvSUN(ref GLfloat tc, System.IntPtr v) + { + GCHandle h0 = GCHandle.Alloc(tc, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4fVertex4fvSUN(h0.AddrOfPinnedObject(), v); + } + finally + { + h0.Free(); + } + } public static void TexCoord4hNV(GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q) { Delegates.glTexCoord4hNV(s, t, r, q); } + public static void TexCoord4hvNV(ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4hvNV(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord4hvNV(System.IntPtr v) { Delegates.glTexCoord4hvNV(v); @@ -14867,11 +34674,23 @@ namespace OpenTK.OpenGL { Delegates.glTexCoord4i(s, t, r, q); } + public static void TexCoord4iv(GLint[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexCoord4iv(System.IntPtr v) { Delegates.glTexCoord4iv(v); } - public static void TexCoord4iv(GLint[] v) + public static void TexCoord4iv(ref GLint v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -14887,7 +34706,7 @@ namespace OpenTK.OpenGL { Delegates.glTexCoord4s(s, t, r, q); } - public static void TexCoord4sv(GLshort[] v) + public static void TexCoord4sv(ref GLshort v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -14903,6 +34722,22 @@ namespace OpenTK.OpenGL { Delegates.glTexCoord4sv(v); } + public static void TexCoord4sv(GLshort[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glTexCoord4sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexCoordPointer(GLint size, Enums.TexCoordPointerType type, GLsizei stride, System.IntPtr pointer) + { + Delegates.glTexCoordPointer(size, type, stride, pointer); + } public static void TexCoordPointer(GLint size, Enums.TexCoordPointerType type, GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -14915,10 +34750,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexCoordPointer(GLint size, Enums.TexCoordPointerType type, GLsizei stride, System.IntPtr pointer) - { - Delegates.glTexCoordPointer(size, type, stride, pointer); - } public static void TexCoordPointerEXT(GLint size, Enums.TexCoordPointerType type, GLsizei stride, GLsizei count, System.IntPtr pointer) { Delegates.glTexCoordPointerEXT(size, type, stride, count, pointer); @@ -14935,18 +34766,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexCoordPointerListIBM(GLint size, Enums.TexCoordPointerType type, GLint stride, IntPtr[] pointer, GLint ptrstride) - { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointerListIBM(size, type, stride, h0.AddrOfPinnedObject(), ptrstride); - } - finally - { - h0.Free(); - } - } public static void TexCoordPointerListIBM(GLint size, Enums.TexCoordPointerType type, GLint stride, System.IntPtr pointer, GLint ptrstride) { Delegates.glTexCoordPointerListIBM(size, type, stride, pointer, ptrstride); @@ -14955,18 +34774,6 @@ namespace OpenTK.OpenGL { Delegates.glTexCoordPointervINTEL(size, type, pointer); } - public static void TexCoordPointervINTEL(GLint size, Enums.VertexPointerType type, IntPtr[] pointer) - { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glTexCoordPointervINTEL(size, type, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } public static void TexEnvf(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, GLfloat param) { Delegates.glTexEnvf(target, pname, param); @@ -14987,10 +34794,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void TexEnvfv(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glTexEnvfv(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexEnvi(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, GLint param) { Delegates.glTexEnvi(target, pname, param); } + public static void TexEnviv(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, System.IntPtr @params) + { + Delegates.glTexEnviv(target, pname, @params); + } + public static void TexEnviv(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glTexEnviv(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexEnviv(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -15003,10 +34838,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexEnviv(Enums.TextureEnvTarget target, Enums.TextureEnvParameter pname, System.IntPtr @params) - { - Delegates.glTexEnviv(target, pname, @params); - } public static void TexFilterFuncSGIS(Enums.TextureTarget target, Enums.SGIS_texture_filter4 filter, GLsizei n, GLfloat[] weights) { GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); @@ -15023,6 +34854,18 @@ namespace OpenTK.OpenGL { Delegates.glTexFilterFuncSGIS(target, filter, n, weights); } + public static void TexFilterFuncSGIS(Enums.TextureTarget target, Enums.SGIS_texture_filter4 filter, GLsizei n, ref GLfloat weights) + { + GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); + try + { + Delegates.glTexFilterFuncSGIS(target, filter, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexGend(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, GLdouble param) { Delegates.glTexGend(coord, pname, param); @@ -15043,11 +34886,23 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void TexGendv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, ref GLdouble @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glTexGendv(coord, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexGenf(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, GLfloat param) { Delegates.glTexGenf(coord, pname, param); } - public static void TexGenfv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, GLfloat[] @params) + public static void TexGenfv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, ref GLfloat @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -15063,10 +34918,34 @@ namespace OpenTK.OpenGL { Delegates.glTexGenfv(coord, pname, @params); } + public static void TexGenfv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, GLfloat[] @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glTexGenfv(coord, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexGeni(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, GLint param) { Delegates.glTexGeni(coord, pname, param); } + public static void TexGeniv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glTexGeniv(coord, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexGeniv(Enums.TextureCoordName coord, Enums.TextureGenParameter pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -15083,6 +34962,10 @@ namespace OpenTK.OpenGL { Delegates.glTexGeniv(coord, pname, @params); } + public static void TexImage1D(Enums.TextureTarget target, GLint level, GLint internalformat, GLsizei width, GLint border, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) + { + Delegates.glTexImage1D(target, level, internalformat, width, border, format, type, pixels); + } public static void TexImage1D(Enums.TextureTarget target, GLint level, GLint internalformat, GLsizei width, GLint border, Enums.PixelFormat format, Enums.PixelType type, object pixels) { GCHandle h0 = GCHandle.Alloc(pixels, GCHandleType.Pinned); @@ -15095,10 +34978,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexImage1D(Enums.TextureTarget target, GLint level, GLint internalformat, GLsizei width, GLint border, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) - { - Delegates.glTexImage1D(target, level, internalformat, width, border, format, type, pixels); - } public static void TexImage2D(Enums.TextureTarget target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) { Delegates.glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels); @@ -15115,10 +34994,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexImage3D(Enums.TextureTarget target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) - { - Delegates.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); - } public static void TexImage3D(Enums.TextureTarget target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, Enums.PixelFormat format, Enums.PixelType type, object pixels) { GCHandle h0 = GCHandle.Alloc(pixels, GCHandleType.Pinned); @@ -15131,6 +35006,14 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void TexImage3D(Enums.TextureTarget target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) + { + Delegates.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); + } + public static void TexImage3DEXT(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) + { + Delegates.glTexImage3DEXT(target, level, internalformat, width, height, depth, border, format, type, pixels); + } public static void TexImage3DEXT(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, Enums.PixelFormat format, Enums.PixelType type, object pixels) { GCHandle h0 = GCHandle.Alloc(pixels, GCHandleType.Pinned); @@ -15143,9 +35026,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexImage3DEXT(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) + public static void TexImage4DSGIS(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) { - Delegates.glTexImage3DEXT(target, level, internalformat, width, height, depth, border, format, type, pixels); + Delegates.glTexImage4DSGIS(target, level, internalformat, width, height, depth, size4d, border, format, type, pixels); } public static void TexImage4DSGIS(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, Enums.PixelFormat format, Enums.PixelType type, object pixels) { @@ -15159,14 +35042,22 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexImage4DSGIS(Enums.TextureTarget target, GLint level, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) - { - Delegates.glTexImage4DSGIS(target, level, internalformat, width, height, depth, size4d, border, format, type, pixels); - } public static void TexParameterf(Enums.TextureTarget target, Enums.TextureParameterName pname, GLfloat param) { Delegates.glTexParameterf(target, pname, param); } + public static void TexParameterfv(Enums.TextureTarget target, Enums.TextureParameterName pname, ref GLfloat @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glTexParameterfv(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexParameterfv(Enums.TextureTarget target, Enums.TextureParameterName pname, GLfloat[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -15187,7 +35078,7 @@ namespace OpenTK.OpenGL { Delegates.glTexParameteri(target, pname, param); } - public static void TexParameterIivEXT(Enums.TextureTarget target, Enums.TextureParameterName pname, GLint[] @params) + public static void TexParameterIivEXT(Enums.TextureTarget target, Enums.TextureParameterName pname, ref GLint @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); try @@ -15203,9 +35094,17 @@ namespace OpenTK.OpenGL { Delegates.glTexParameterIivEXT(target, pname, @params); } - public static void TexParameterIuivEXT(Enums.TextureTarget target, Enums.TextureParameterName pname, System.IntPtr @params) + public static void TexParameterIivEXT(Enums.TextureTarget target, Enums.TextureParameterName pname, GLint[] @params) { - Delegates.glTexParameterIuivEXT(target, pname, @params); + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glTexParameterIivEXT(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void TexParameterIuivEXT(Enums.TextureTarget target, Enums.TextureParameterName pname, GLuint[] @params) { @@ -15219,6 +35118,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void TexParameterIuivEXT(Enums.TextureTarget target, Enums.TextureParameterName pname, ref GLuint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glTexParameterIuivEXT(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void TexParameterIuivEXT(Enums.TextureTarget target, Enums.TextureParameterName pname, System.IntPtr @params) + { + Delegates.glTexParameterIuivEXT(target, pname, @params); + } + public static void TexParameteriv(Enums.TextureTarget target, Enums.TextureParameterName pname, ref GLint @params) + { + GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Delegates.glTexParameteriv(target, pname, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void TexParameteriv(Enums.TextureTarget target, Enums.TextureParameterName pname, GLint[] @params) { GCHandle h0 = GCHandle.Alloc(@params, GCHandleType.Pinned); @@ -15283,6 +35210,10 @@ namespace OpenTK.OpenGL { Delegates.glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); } + public static void TexSubImage2DEXT(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) + { + Delegates.glTexSubImage2DEXT(target, level, xoffset, yoffset, width, height, format, type, pixels); + } public static void TexSubImage2DEXT(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, object pixels) { GCHandle h0 = GCHandle.Alloc(pixels, GCHandleType.Pinned); @@ -15295,10 +35226,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TexSubImage2DEXT(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) - { - Delegates.glTexSubImage2DEXT(target, level, xoffset, yoffset, width, height, format, type, pixels); - } public static void TexSubImage3D(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) { Delegates.glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); @@ -15331,10 +35258,6 @@ namespace OpenTK.OpenGL { Delegates.glTexSubImage3DEXT(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); } - public static void TexSubImage4DSGIS(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) - { - Delegates.glTexSubImage4DSGIS(target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, size4d, format, type, pixels); - } public static void TexSubImage4DSGIS(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, Enums.PixelFormat format, Enums.PixelType type, object pixels) { GCHandle h0 = GCHandle.Alloc(pixels, GCHandleType.Pinned); @@ -15347,6 +35270,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void TexSubImage4DSGIS(Enums.TextureTarget target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, Enums.PixelFormat format, Enums.PixelType type, System.IntPtr pixels) + { + Delegates.glTexSubImage4DSGIS(target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, size4d, format, type, pixels); + } public static void TextureColorMaskSGIS([MarshalAs(UnmanagedType.Bool)] bool red, [MarshalAs(UnmanagedType.Bool)] bool green, [MarshalAs(UnmanagedType.Bool)] bool blue, [MarshalAs(UnmanagedType.Bool)] bool alpha) { Delegates.glTextureColorMaskSGIS(red, green, blue, alpha); @@ -15367,11 +35294,7 @@ namespace OpenTK.OpenGL { Delegates.glTrackMatrixNV(target, address, matrix, transform); } - public static void TransformFeedbackAttribsNV(GLuint count, System.IntPtr attribs, Enums.NV_transform_feedback bufferMode) - { - Delegates.glTransformFeedbackAttribsNV(count, attribs, bufferMode); - } - public static void TransformFeedbackAttribsNV(GLuint count, GLint[] attribs, Enums.NV_transform_feedback bufferMode) + public static void TransformFeedbackAttribsNV(GLuint count, ref GLint attribs, Enums.GLenum bufferMode) { GCHandle h0 = GCHandle.Alloc(attribs, GCHandleType.Pinned); try @@ -15383,11 +35306,39 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void TransformFeedbackVaryingsNV(GLuint program, GLsizei count, System.IntPtr locations, Enums.NV_transform_feedback bufferMode) + public static void TransformFeedbackAttribsNV(GLuint count, System.IntPtr attribs, Enums.GLenum bufferMode) + { + Delegates.glTransformFeedbackAttribsNV(count, attribs, bufferMode); + } + public static void TransformFeedbackAttribsNV(GLuint count, GLint[] attribs, Enums.GLenum bufferMode) + { + GCHandle h0 = GCHandle.Alloc(attribs, GCHandleType.Pinned); + try + { + Delegates.glTransformFeedbackAttribsNV(count, h0.AddrOfPinnedObject(), bufferMode); + } + finally + { + h0.Free(); + } + } + public static void TransformFeedbackVaryingsNV(GLuint program, GLsizei count, System.IntPtr locations, Enums.GLenum bufferMode) { Delegates.glTransformFeedbackVaryingsNV(program, count, locations, bufferMode); } - public static void TransformFeedbackVaryingsNV(GLuint program, GLsizei count, GLint[] locations, Enums.NV_transform_feedback bufferMode) + public static void TransformFeedbackVaryingsNV(GLuint program, GLsizei count, GLint[] locations, Enums.GLenum bufferMode) + { + GCHandle h0 = GCHandle.Alloc(locations, GCHandleType.Pinned); + try + { + Delegates.glTransformFeedbackVaryingsNV(program, count, h0.AddrOfPinnedObject(), bufferMode); + } + finally + { + h0.Free(); + } + } + public static void TransformFeedbackVaryingsNV(GLuint program, GLsizei count, ref GLint locations, Enums.GLenum bufferMode) { GCHandle h0 = GCHandle.Alloc(locations, GCHandleType.Pinned); try @@ -15415,10 +35366,6 @@ namespace OpenTK.OpenGL { Delegates.glUniform1fARB(location, v0); } - public static void Uniform1fv(GLint location, GLsizei count, System.IntPtr value) - { - Delegates.glUniform1fv(location, count, value); - } public static void Uniform1fv(GLint location, GLsizei count, GLfloat[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15431,6 +35378,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Uniform1fv(GLint location, GLsizei count, System.IntPtr value) + { + Delegates.glUniform1fv(location, count, value); + } + public static void Uniform1fv(GLint location, GLsizei count, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform1fv(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void Uniform1fvARB(GLint location, GLsizei count, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform1fvARB(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Uniform1fvARB(GLint location, GLsizei count, System.IntPtr value) { Delegates.glUniform1fvARB(location, count, value); @@ -15455,6 +35430,18 @@ namespace OpenTK.OpenGL { Delegates.glUniform1iARB(location, v0); } + public static void Uniform1iv(GLint location, GLsizei count, ref GLint value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform1iv(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Uniform1iv(GLint location, GLsizei count, System.IntPtr value) { Delegates.glUniform1iv(location, count, value); @@ -15471,9 +35458,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Uniform1ivARB(GLint location, GLsizei count, System.IntPtr value) + public static void Uniform1ivARB(GLint location, GLsizei count, ref GLint value) { - Delegates.glUniform1ivARB(location, count, value); + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform1ivARB(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Uniform1ivARB(GLint location, GLsizei count, GLint[] value) { @@ -15487,6 +35482,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Uniform1ivARB(GLint location, GLsizei count, System.IntPtr value) + { + Delegates.glUniform1ivARB(location, count, value); + } public static void Uniform1uiEXT(GLint location, GLuint v0) { Delegates.glUniform1uiEXT(location, v0); @@ -15503,6 +35502,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Uniform1uivEXT(GLint location, GLsizei count, ref GLuint value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform1uivEXT(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Uniform1uivEXT(GLint location, GLsizei count, System.IntPtr value) { Delegates.glUniform1uivEXT(location, count, value); @@ -15515,6 +35526,18 @@ namespace OpenTK.OpenGL { Delegates.glUniform2fARB(location, v0, v1); } + public static void Uniform2fv(GLint location, GLsizei count, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform2fv(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Uniform2fv(GLint location, GLsizei count, GLfloat[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15531,10 +35554,6 @@ namespace OpenTK.OpenGL { Delegates.glUniform2fv(location, count, value); } - public static void Uniform2fvARB(GLint location, GLsizei count, System.IntPtr value) - { - Delegates.glUniform2fvARB(location, count, value); - } public static void Uniform2fvARB(GLint location, GLsizei count, GLfloat[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15547,6 +35566,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Uniform2fvARB(GLint location, GLsizei count, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform2fvARB(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void Uniform2fvARB(GLint location, GLsizei count, System.IntPtr value) + { + Delegates.glUniform2fvARB(location, count, value); + } public static void Uniform2i(GLint location, GLint v0, GLint v1) { Delegates.glUniform2i(location, v0, v1); @@ -15555,9 +35590,17 @@ namespace OpenTK.OpenGL { Delegates.glUniform2iARB(location, v0, v1); } - public static void Uniform2iv(GLint location, GLsizei count, System.IntPtr value) + public static void Uniform2iv(GLint location, GLsizei count, ref GLint value) { - Delegates.glUniform2iv(location, count, value); + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform2iv(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Uniform2iv(GLint location, GLsizei count, GLint[] value) { @@ -15571,6 +35614,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Uniform2iv(GLint location, GLsizei count, System.IntPtr value) + { + Delegates.glUniform2iv(location, count, value); + } public static void Uniform2ivARB(GLint location, GLsizei count, System.IntPtr value) { Delegates.glUniform2ivARB(location, count, value); @@ -15587,13 +35634,33 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Uniform2ivARB(GLint location, GLsizei count, ref GLint value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform2ivARB(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Uniform2uiEXT(GLint location, GLuint v0, GLuint v1) { Delegates.glUniform2uiEXT(location, v0, v1); } - public static void Uniform2uivEXT(GLint location, GLsizei count, System.IntPtr value) + public static void Uniform2uivEXT(GLint location, GLsizei count, ref GLuint value) { - Delegates.glUniform2uivEXT(location, count, value); + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform2uivEXT(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Uniform2uivEXT(GLint location, GLsizei count, GLuint[] value) { @@ -15607,6 +35674,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Uniform2uivEXT(GLint location, GLsizei count, System.IntPtr value) + { + Delegates.glUniform2uivEXT(location, count, value); + } public static void Uniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { Delegates.glUniform3f(location, v0, v1, v2); @@ -15619,6 +35690,18 @@ namespace OpenTK.OpenGL { Delegates.glUniform3fv(location, count, value); } + public static void Uniform3fv(GLint location, GLsizei count, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform3fv(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Uniform3fv(GLint location, GLsizei count, GLfloat[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15631,6 +35714,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Uniform3fvARB(GLint location, GLsizei count, System.IntPtr value) + { + Delegates.glUniform3fvARB(location, count, value); + } public static void Uniform3fvARB(GLint location, GLsizei count, GLfloat[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15643,9 +35730,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Uniform3fvARB(GLint location, GLsizei count, System.IntPtr value) + public static void Uniform3fvARB(GLint location, GLsizei count, ref GLfloat value) { - Delegates.glUniform3fvARB(location, count, value); + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform3fvARB(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Uniform3i(GLint location, GLint v0, GLint v1, GLint v2) { @@ -15655,6 +35750,10 @@ namespace OpenTK.OpenGL { Delegates.glUniform3iARB(location, v0, v1, v2); } + public static void Uniform3iv(GLint location, GLsizei count, System.IntPtr value) + { + Delegates.glUniform3iv(location, count, value); + } public static void Uniform3iv(GLint location, GLsizei count, GLint[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15667,14 +35766,34 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Uniform3iv(GLint location, GLsizei count, System.IntPtr value) + public static void Uniform3iv(GLint location, GLsizei count, ref GLint value) { - Delegates.glUniform3iv(location, count, value); + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform3iv(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Uniform3ivARB(GLint location, GLsizei count, System.IntPtr value) { Delegates.glUniform3ivARB(location, count, value); } + public static void Uniform3ivARB(GLint location, GLsizei count, ref GLint value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform3ivARB(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Uniform3ivARB(GLint location, GLsizei count, GLint[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15691,6 +35810,18 @@ namespace OpenTK.OpenGL { Delegates.glUniform3uiEXT(location, v0, v1, v2); } + public static void Uniform3uivEXT(GLint location, GLsizei count, ref GLuint value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform3uivEXT(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Uniform3uivEXT(GLint location, GLsizei count, GLuint[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15719,6 +35850,18 @@ namespace OpenTK.OpenGL { Delegates.glUniform4fv(location, count, value); } + public static void Uniform4fv(GLint location, GLsizei count, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform4fv(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Uniform4fv(GLint location, GLsizei count, GLfloat[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15731,11 +35874,23 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Uniform4fvARB(GLint location, GLsizei count, GLfloat[] value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform4fvARB(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Uniform4fvARB(GLint location, GLsizei count, System.IntPtr value) { Delegates.glUniform4fvARB(location, count, value); } - public static void Uniform4fvARB(GLint location, GLsizei count, GLfloat[] value) + public static void Uniform4fvARB(GLint location, GLsizei count, ref GLfloat value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); try @@ -15759,6 +35914,18 @@ namespace OpenTK.OpenGL { Delegates.glUniform4iv(location, count, value); } + public static void Uniform4iv(GLint location, GLsizei count, ref GLint value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform4iv(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Uniform4iv(GLint location, GLsizei count, GLint[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15787,10 +35954,38 @@ namespace OpenTK.OpenGL { Delegates.glUniform4ivARB(location, count, value); } + public static void Uniform4ivARB(GLint location, GLsizei count, ref GLint value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform4ivARB(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Uniform4uiEXT(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { Delegates.glUniform4uiEXT(location, v0, v1, v2, v3); } + public static void Uniform4uivEXT(GLint location, GLsizei count, System.IntPtr value) + { + Delegates.glUniform4uivEXT(location, count, value); + } + public static void Uniform4uivEXT(GLint location, GLsizei count, ref GLuint value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniform4uivEXT(location, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Uniform4uivEXT(GLint location, GLsizei count, GLuint[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15803,14 +35998,22 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Uniform4uivEXT(GLint location, GLsizei count, System.IntPtr value) - { - Delegates.glUniform4uivEXT(location, count, value); - } public static void UniformBufferEXT(GLuint program, GLint location, GLuint buffer) { Delegates.glUniformBufferEXT(program, location, buffer); } + public static void UniformMatrix2fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniformMatrix2fv(location, count, transpose, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void UniformMatrix2fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, GLfloat[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15843,9 +36046,29 @@ namespace OpenTK.OpenGL { Delegates.glUniformMatrix2fvARB(location, count, transpose, value); } - public static void UniformMatrix2x3fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, System.IntPtr value) + public static void UniformMatrix2fvARB(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, ref GLfloat value) { - Delegates.glUniformMatrix2x3fv(location, count, transpose, value); + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniformMatrix2fvARB(location, count, transpose, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void UniformMatrix2x3fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniformMatrix2x3fv(location, count, transpose, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void UniformMatrix2x3fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, GLfloat[] value) { @@ -15859,10 +36082,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void UniformMatrix2x3fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, System.IntPtr value) + { + Delegates.glUniformMatrix2x3fv(location, count, transpose, value); + } public static void UniformMatrix2x4fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, System.IntPtr value) { Delegates.glUniformMatrix2x4fv(location, count, transpose, value); } + public static void UniformMatrix2x4fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniformMatrix2x4fv(location, count, transpose, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void UniformMatrix2x4fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, GLfloat[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15875,6 +36114,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void UniformMatrix3fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniformMatrix3fv(location, count, transpose, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void UniformMatrix3fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, GLfloat[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15891,6 +36142,18 @@ namespace OpenTK.OpenGL { Delegates.glUniformMatrix3fv(location, count, transpose, value); } + public static void UniformMatrix3fvARB(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniformMatrix3fvARB(location, count, transpose, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void UniformMatrix3fvARB(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, System.IntPtr value) { Delegates.glUniformMatrix3fvARB(location, count, transpose, value); @@ -15923,6 +36186,30 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void UniformMatrix3x2fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniformMatrix3x2fv(location, count, transpose, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void UniformMatrix3x4fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniformMatrix3x4fv(location, count, transpose, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void UniformMatrix3x4fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, GLfloat[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15939,11 +36226,23 @@ namespace OpenTK.OpenGL { Delegates.glUniformMatrix3x4fv(location, count, transpose, value); } + public static void UniformMatrix4fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, GLfloat[] value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniformMatrix4fv(location, count, transpose, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void UniformMatrix4fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, System.IntPtr value) { Delegates.glUniformMatrix4fv(location, count, transpose, value); } - public static void UniformMatrix4fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, GLfloat[] value) + public static void UniformMatrix4fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, ref GLfloat value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); try @@ -15971,6 +36270,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void UniformMatrix4fvARB(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniformMatrix4fvARB(location, count, transpose, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void UniformMatrix4x2fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, System.IntPtr value) + { + Delegates.glUniformMatrix4x2fv(location, count, transpose, value); + } public static void UniformMatrix4x2fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, GLfloat[] value) { GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); @@ -15983,9 +36298,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void UniformMatrix4x2fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, System.IntPtr value) + public static void UniformMatrix4x2fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, ref GLfloat value) { - Delegates.glUniformMatrix4x2fv(location, count, transpose, value); + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniformMatrix4x2fv(location, count, transpose, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void UniformMatrix4x3fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, GLfloat[] value) { @@ -16003,6 +36326,18 @@ namespace OpenTK.OpenGL { Delegates.glUniformMatrix4x3fv(location, count, transpose, value); } + public static void UniformMatrix4x3fv(GLint location, GLsizei count, [MarshalAs(UnmanagedType.Bool)] bool transpose, ref GLfloat value) + { + GCHandle h0 = GCHandle.Alloc(value, GCHandleType.Pinned); + try + { + Delegates.glUniformMatrix4x3fv(location, count, transpose, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void UnlockArraysEXT() { Delegates.glUnlockArraysEXT(); @@ -16019,6 +36354,10 @@ namespace OpenTK.OpenGL { Delegates.glUnmapObjectBufferATI(buffer); } + public static void UpdateObjectBufferATI(GLuint buffer, GLuint offset, GLsizei size, System.IntPtr pointer, Enums.ATI_vertex_array_object preserve) + { + Delegates.glUpdateObjectBufferATI(buffer, offset, size, pointer, preserve); + } public static void UpdateObjectBufferATI(GLuint buffer, GLuint offset, GLsizei size, object pointer, Enums.ATI_vertex_array_object preserve) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -16031,10 +36370,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void UpdateObjectBufferATI(GLuint buffer, GLuint offset, GLsizei size, System.IntPtr pointer, Enums.ATI_vertex_array_object preserve) - { - Delegates.glUpdateObjectBufferATI(buffer, offset, size, pointer, preserve); - } public static void UseProgram(GLuint program) { Delegates.glUseProgram(program); @@ -16055,9 +36390,17 @@ namespace OpenTK.OpenGL { Delegates.glVariantArrayObjectATI(id, type, stride, buffer, offset); } - public static void VariantbvEXT(GLuint id, System.IntPtr addr) + public static void VariantbvEXT(GLuint id, ref GLbyte addr) { - Delegates.glVariantbvEXT(id, addr); + GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantbvEXT(id, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VariantbvEXT(GLuint id, GLbyte[] addr) { @@ -16071,9 +36414,21 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VariantdvEXT(GLuint id, System.IntPtr addr) + public static void VariantbvEXT(GLuint id, System.IntPtr addr) { - Delegates.glVariantdvEXT(id, addr); + Delegates.glVariantbvEXT(id, addr); + } + public static void VariantdvEXT(GLuint id, ref GLdouble addr) + { + GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantdvEXT(id, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VariantdvEXT(GLuint id, GLdouble[] addr) { @@ -16087,6 +36442,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VariantdvEXT(GLuint id, System.IntPtr addr) + { + Delegates.glVariantdvEXT(id, addr); + } public static void VariantfvEXT(GLuint id, System.IntPtr addr) { Delegates.glVariantfvEXT(id, addr); @@ -16103,6 +36462,30 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VariantfvEXT(GLuint id, ref GLfloat addr) + { + GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantfvEXT(id, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VariantivEXT(GLuint id, ref GLint addr) + { + GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantivEXT(id, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VariantivEXT(GLuint id, GLint[] addr) { GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); @@ -16119,6 +36502,10 @@ namespace OpenTK.OpenGL { Delegates.glVariantivEXT(id, addr); } + public static void VariantPointerEXT(GLuint id, Enums.EXT_vertex_shader type, GLuint stride, System.IntPtr addr) + { + Delegates.glVariantPointerEXT(id, type, stride, addr); + } public static void VariantPointerEXT(GLuint id, Enums.EXT_vertex_shader type, GLuint stride, object addr) { GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); @@ -16131,13 +36518,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VariantPointerEXT(GLuint id, Enums.EXT_vertex_shader type, GLuint stride, System.IntPtr addr) + public static void VariantsvEXT(GLuint id, ref GLshort addr) { - Delegates.glVariantPointerEXT(id, type, stride, addr); - } - public static void VariantsvEXT(GLuint id, System.IntPtr addr) - { - Delegates.glVariantsvEXT(id, addr); + GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantsvEXT(id, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VariantsvEXT(GLuint id, GLshort[] addr) { @@ -16151,6 +36542,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VariantsvEXT(GLuint id, System.IntPtr addr) + { + Delegates.glVariantsvEXT(id, addr); + } + public static void VariantubvEXT(GLuint id, ref GLubyte addr) + { + GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantubvEXT(id, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VariantubvEXT(GLuint id, GLubyte[] addr) { GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); @@ -16183,6 +36590,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VariantuivEXT(GLuint id, ref GLuint addr) + { + GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantuivEXT(id, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VariantusvEXT(GLuint id, System.IntPtr addr) + { + Delegates.glVariantusvEXT(id, addr); + } public static void VariantusvEXT(GLuint id, GLushort[] addr) { GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); @@ -16195,14 +36618,34 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VariantusvEXT(GLuint id, System.IntPtr addr) + public static void VariantusvEXT(GLuint id, ref GLushort addr) { - Delegates.glVariantusvEXT(id, addr); + GCHandle h0 = GCHandle.Alloc(addr, GCHandleType.Pinned); + try + { + Delegates.glVariantusvEXT(id, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Vertex2d(GLdouble x, GLdouble y) { Delegates.glVertex2d(x, y); } + public static void Vertex2dv(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex2dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Vertex2dv(GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16223,6 +36666,18 @@ namespace OpenTK.OpenGL { Delegates.glVertex2f(x, y); } + public static void Vertex2fv(ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex2fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Vertex2fv(GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16259,10 +36714,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Vertex2hvNV(ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex2hvNV(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Vertex2i(GLint x, GLint y) { Delegates.glVertex2i(x, y); } + public static void Vertex2iv(System.IntPtr v) + { + Delegates.glVertex2iv(v); + } public static void Vertex2iv(GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16275,9 +36746,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Vertex2iv(System.IntPtr v) + public static void Vertex2iv(ref GLint v) { - Delegates.glVertex2iv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex2iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Vertex2s(GLshort x, GLshort y) { @@ -16295,6 +36774,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Vertex2sv(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex2sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Vertex2sv(System.IntPtr v) { Delegates.glVertex2sv(v); @@ -16319,11 +36810,23 @@ namespace OpenTK.OpenGL { Delegates.glVertex3dv(v); } + public static void Vertex3dv(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex3dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Vertex3f(GLfloat x, GLfloat y, GLfloat z) { Delegates.glVertex3f(x, y, z); } - public static void Vertex3fv(GLfloat[] v) + public static void Vertex3fv(ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -16339,6 +36842,18 @@ namespace OpenTK.OpenGL { Delegates.glVertex3fv(v); } + public static void Vertex3fv(GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex3fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Vertex3hNV(GLhalfNV x, GLhalfNV y, GLhalfNV z) { Delegates.glVertex3hNV(x, y, z); @@ -16347,6 +36862,18 @@ namespace OpenTK.OpenGL { Delegates.glVertex3hvNV(v); } + public static void Vertex3hvNV(ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex3hvNV(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Vertex3hvNV(GLhalfNV[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16363,6 +36890,18 @@ namespace OpenTK.OpenGL { Delegates.glVertex3i(x, y, z); } + public static void Vertex3iv(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex3iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Vertex3iv(GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16383,6 +36922,18 @@ namespace OpenTK.OpenGL { Delegates.glVertex3s(x, y, z); } + public static void Vertex3sv(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex3sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Vertex3sv(GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16419,13 +36970,33 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Vertex4dv(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex4dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void Vertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { Delegates.glVertex4f(x, y, z, w); } - public static void Vertex4fv(System.IntPtr v) + public static void Vertex4fv(ref GLfloat v) { - Delegates.glVertex4fv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex4fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Vertex4fv(GLfloat[] v) { @@ -16439,10 +37010,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Vertex4fv(System.IntPtr v) + { + Delegates.glVertex4fv(v); + } public static void Vertex4hNV(GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) { Delegates.glVertex4hNV(x, y, z, w); } + public static void Vertex4hvNV(System.IntPtr v) + { + Delegates.glVertex4hvNV(v); + } public static void Vertex4hvNV(GLhalfNV[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16455,18 +37034,22 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void Vertex4hvNV(System.IntPtr v) + public static void Vertex4hvNV(ref GLhalfNV v) { - Delegates.glVertex4hvNV(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex4hvNV(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void Vertex4i(GLint x, GLint y, GLint z, GLint w) { Delegates.glVertex4i(x, y, z, w); } - public static void Vertex4iv(System.IntPtr v) - { - Delegates.glVertex4iv(v); - } public static void Vertex4iv(GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16479,6 +37062,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Vertex4iv(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex4iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void Vertex4iv(System.IntPtr v) + { + Delegates.glVertex4iv(v); + } public static void Vertex4s(GLshort x, GLshort y, GLshort z, GLshort w) { Delegates.glVertex4s(x, y, z, w); @@ -16499,10 +37098,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void Vertex4sv(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertex4sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexArrayParameteriAPPLE(Enums.APPLE_vertex_array_range pname, GLint param) { Delegates.glVertexArrayParameteriAPPLE(pname, param); } + public static void VertexArrayRangeAPPLE(GLsizei length, [In, Out()] System.IntPtr pointer) + { + Delegates.glVertexArrayRangeAPPLE(length, pointer); + } public static void VertexArrayRangeAPPLE(GLsizei length, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -16515,14 +37130,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexArrayRangeAPPLE(GLsizei length, [In, Out()] System.IntPtr pointer) - { - Delegates.glVertexArrayRangeAPPLE(length, pointer); - } - public static void VertexArrayRangeNV(GLsizei length, System.IntPtr pointer) - { - Delegates.glVertexArrayRangeNV(length, pointer); - } public static void VertexArrayRangeNV(GLsizei length, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -16535,6 +37142,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexArrayRangeNV(GLsizei length, System.IntPtr pointer) + { + Delegates.glVertexArrayRangeNV(length, pointer); + } public static void VertexAttrib1d(GLuint index, GLdouble x) { Delegates.glVertexAttrib1d(index, x); @@ -16547,9 +37158,17 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib1dNV(index, x); } - public static void VertexAttrib1dv(GLuint index, System.IntPtr v) + public static void VertexAttrib1dv(GLuint index, ref GLdouble v) { - Delegates.glVertexAttrib1dv(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib1dv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib1dv(GLuint index, GLdouble[] v) { @@ -16563,6 +37182,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib1dv(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib1dv(index, v); + } + public static void VertexAttrib1dvARB(GLuint index, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib1dvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib1dvARB(GLuint index, GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16595,6 +37230,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib1dvNV(GLuint index, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib1dvNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib1f(GLuint index, GLfloat x) { Delegates.glVertexAttrib1f(index, x); @@ -16607,11 +37254,23 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib1fNV(index, x); } + public static void VertexAttrib1fv(GLuint index, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib1fv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib1fv(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib1fv(index, v); } - public static void VertexAttrib1fv(GLuint index, GLfloat[] v) + public static void VertexAttrib1fv(GLuint index, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -16627,6 +37286,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib1fvARB(index, v); } + public static void VertexAttrib1fvARB(GLuint index, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib1fvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib1fvARB(GLuint index, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16639,9 +37310,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttrib1fvNV(GLuint index, System.IntPtr v) + public static void VertexAttrib1fvNV(GLuint index, ref GLfloat v) { - Delegates.glVertexAttrib1fvNV(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib1fvNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib1fvNV(GLuint index, GLfloat[] v) { @@ -16655,14 +37334,14 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib1fvNV(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib1fvNV(index, v); + } public static void VertexAttrib1hNV(GLuint index, GLhalfNV x) { Delegates.glVertexAttrib1hNV(index, x); } - public static void VertexAttrib1hvNV(GLuint index, System.IntPtr v) - { - Delegates.glVertexAttrib1hvNV(index, v); - } public static void VertexAttrib1hvNV(GLuint index, GLhalfNV[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16675,6 +37354,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib1hvNV(GLuint index, ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib1hvNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttrib1hvNV(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib1hvNV(index, v); + } public static void VertexAttrib1s(GLuint index, GLshort x) { Delegates.glVertexAttrib1s(index, x); @@ -16687,6 +37382,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib1sNV(index, x); } + public static void VertexAttrib1sv(GLuint index, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib1sv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib1sv(GLuint index, GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16703,7 +37410,7 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib1sv(index, v); } - public static void VertexAttrib1svARB(GLuint index, GLshort[] v) + public static void VertexAttrib1svARB(GLuint index, ref GLshort v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -16719,6 +37426,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib1svARB(index, v); } + public static void VertexAttrib1svARB(GLuint index, GLshort[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib1svARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib1svNV(GLuint index, GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16731,6 +37450,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib1svNV(GLuint index, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib1svNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib1svNV(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib1svNV(index, v); @@ -16747,6 +37478,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib2dNV(index, x, y); } + public static void VertexAttrib2dv(GLuint index, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib2dv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib2dv(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib2dv(index, v); @@ -16763,6 +37506,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib2dvARB(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib2dvARB(index, v); + } public static void VertexAttrib2dvARB(GLuint index, GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16775,9 +37522,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttrib2dvARB(GLuint index, System.IntPtr v) + public static void VertexAttrib2dvARB(GLuint index, ref GLdouble v) { - Delegates.glVertexAttrib2dvARB(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib2dvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttrib2dvNV(GLuint index, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib2dvNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib2dvNV(GLuint index, GLdouble[] v) { @@ -16807,9 +37574,17 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib2fNV(index, x, y); } - public static void VertexAttrib2fv(GLuint index, System.IntPtr v) + public static void VertexAttrib2fv(GLuint index, ref GLfloat v) { - Delegates.glVertexAttrib2fv(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib2fv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib2fv(GLuint index, GLfloat[] v) { @@ -16823,9 +37598,21 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttrib2fvARB(GLuint index, System.IntPtr v) + public static void VertexAttrib2fv(GLuint index, System.IntPtr v) { - Delegates.glVertexAttrib2fvARB(index, v); + Delegates.glVertexAttrib2fv(index, v); + } + public static void VertexAttrib2fvARB(GLuint index, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib2fvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib2fvARB(GLuint index, GLfloat[] v) { @@ -16839,6 +37626,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib2fvARB(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib2fvARB(index, v); + } public static void VertexAttrib2fvNV(GLuint index, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16855,6 +37646,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib2fvNV(index, v); } + public static void VertexAttrib2fvNV(GLuint index, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib2fvNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib2hNV(GLuint index, GLhalfNV x, GLhalfNV y) { Delegates.glVertexAttrib2hNV(index, x, y); @@ -16871,6 +37674,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib2hvNV(GLuint index, ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib2hvNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib2hvNV(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib2hvNV(index, v); @@ -16887,10 +37702,6 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib2sNV(index, x, y); } - public static void VertexAttrib2sv(GLuint index, System.IntPtr v) - { - Delegates.glVertexAttrib2sv(index, v); - } public static void VertexAttrib2sv(GLuint index, GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16903,6 +37714,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib2sv(GLuint index, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib2sv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttrib2sv(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib2sv(index, v); + } + public static void VertexAttrib2svARB(GLuint index, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib2svARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib2svARB(GLuint index, GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16919,9 +37758,17 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib2svARB(index, v); } - public static void VertexAttrib2svNV(GLuint index, System.IntPtr v) + public static void VertexAttrib2svNV(GLuint index, ref GLshort v) { - Delegates.glVertexAttrib2svNV(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib2svNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib2svNV(GLuint index, GLshort[] v) { @@ -16935,6 +37782,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib2svNV(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib2svNV(index, v); + } public static void VertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z) { Delegates.glVertexAttrib3d(index, x, y, z); @@ -16951,6 +37802,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib3dv(index, v); } + public static void VertexAttrib3dv(GLuint index, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib3dv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib3dv(GLuint index, GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16963,6 +37826,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib3dvARB(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib3dvARB(index, v); + } public static void VertexAttrib3dvARB(GLuint index, GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -16975,13 +37842,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttrib3dvARB(GLuint index, System.IntPtr v) + public static void VertexAttrib3dvARB(GLuint index, ref GLdouble v) { - Delegates.glVertexAttrib3dvARB(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib3dvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } - public static void VertexAttrib3dvNV(GLuint index, System.IntPtr v) + public static void VertexAttrib3dvNV(GLuint index, ref GLdouble v) { - Delegates.glVertexAttrib3dvNV(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib3dvNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib3dvNV(GLuint index, GLdouble[] v) { @@ -16995,6 +37878,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib3dvNV(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib3dvNV(index, v); + } public static void VertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) { Delegates.glVertexAttrib3f(index, x, y, z); @@ -17007,7 +37894,7 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib3fNV(index, x, y, z); } - public static void VertexAttrib3fv(GLuint index, GLfloat[] v) + public static void VertexAttrib3fv(GLuint index, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -17023,6 +37910,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib3fv(index, v); } + public static void VertexAttrib3fv(GLuint index, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib3fv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib3fvARB(GLuint index, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17035,11 +37934,23 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib3fvARB(GLuint index, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib3fvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib3fvARB(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib3fvARB(index, v); } - public static void VertexAttrib3fvNV(GLuint index, GLfloat[] v) + public static void VertexAttrib3fvNV(GLuint index, ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -17055,10 +37966,34 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib3fvNV(index, v); } + public static void VertexAttrib3fvNV(GLuint index, GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib3fvNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib3hNV(GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z) { Delegates.glVertexAttrib3hNV(index, x, y, z); } + public static void VertexAttrib3hvNV(GLuint index, ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib3hvNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib3hvNV(GLuint index, GLhalfNV[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17099,10 +38034,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib3sv(GLuint index, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib3sv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib3sv(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib3sv(index, v); } + public static void VertexAttrib3svARB(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib3svARB(index, v); + } public static void VertexAttrib3svARB(GLuint index, GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17115,9 +38066,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttrib3svARB(GLuint index, System.IntPtr v) + public static void VertexAttrib3svARB(GLuint index, ref GLshort v) { - Delegates.glVertexAttrib3svARB(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib3svARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib3svNV(GLuint index, GLshort[] v) { @@ -17135,9 +38094,29 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib3svNV(index, v); } - public static void VertexAttrib4bv(GLuint index, System.IntPtr v) + public static void VertexAttrib3svNV(GLuint index, ref GLshort v) { - Delegates.glVertexAttrib4bv(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib3svNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttrib4bv(GLuint index, ref GLbyte v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4bv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib4bv(GLuint index, GLbyte[] v) { @@ -17151,6 +38130,14 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4bv(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib4bv(index, v); + } + public static void VertexAttrib4bvARB(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib4bvARB(index, v); + } public static void VertexAttrib4bvARB(GLuint index, GLbyte[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17163,9 +38150,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttrib4bvARB(GLuint index, System.IntPtr v) + public static void VertexAttrib4bvARB(GLuint index, ref GLbyte v) { - Delegates.glVertexAttrib4bvARB(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4bvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { @@ -17179,6 +38174,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib4dNV(index, x, y, z, w); } + public static void VertexAttrib4dv(GLuint index, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4dv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4dv(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib4dv(index, v); @@ -17211,11 +38218,35 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4dvARB(GLuint index, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4dvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttrib4dvNV(GLuint index, GLdouble[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4dvNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4dvNV(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib4dvNV(index, v); } - public static void VertexAttrib4dvNV(GLuint index, GLdouble[] v) + public static void VertexAttrib4dvNV(GLuint index, ref GLdouble v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -17239,9 +38270,17 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib4fNV(index, x, y, z, w); } - public static void VertexAttrib4fv(GLuint index, System.IntPtr v) + public static void VertexAttrib4fv(GLuint index, ref GLfloat v) { - Delegates.glVertexAttrib4fv(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4fv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib4fv(GLuint index, GLfloat[] v) { @@ -17255,10 +38294,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4fv(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib4fv(index, v); + } public static void VertexAttrib4fvARB(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib4fvARB(index, v); } + public static void VertexAttrib4fvARB(GLuint index, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4fvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4fvARB(GLuint index, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17271,6 +38326,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4fvNV(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib4fvNV(index, v); + } + public static void VertexAttrib4fvNV(GLuint index, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4fvNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4fvNV(GLuint index, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17283,14 +38354,22 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttrib4fvNV(GLuint index, System.IntPtr v) - { - Delegates.glVertexAttrib4fvNV(index, v); - } public static void VertexAttrib4hNV(GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) { Delegates.glVertexAttrib4hNV(index, x, y, z, w); } + public static void VertexAttrib4hvNV(GLuint index, ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4hvNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4hvNV(GLuint index, GLhalfNV[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17307,10 +38386,6 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib4hvNV(index, v); } - public static void VertexAttrib4iv(GLuint index, System.IntPtr v) - { - Delegates.glVertexAttrib4iv(index, v); - } public static void VertexAttrib4iv(GLuint index, GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17323,9 +38398,21 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttrib4ivARB(GLuint index, System.IntPtr v) + public static void VertexAttrib4iv(GLuint index, System.IntPtr v) { - Delegates.glVertexAttrib4ivARB(index, v); + Delegates.glVertexAttrib4iv(index, v); + } + public static void VertexAttrib4iv(GLuint index, ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4iv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib4ivARB(GLuint index, GLint[] v) { @@ -17339,6 +38426,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4ivARB(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib4ivARB(index, v); + } + public static void VertexAttrib4ivARB(GLuint index, ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4ivARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttrib4Nbv(GLuint index, ref GLbyte v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4Nbv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4Nbv(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib4Nbv(index, v); @@ -17355,9 +38470,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttrib4NbvARB(GLuint index, System.IntPtr v) + public static void VertexAttrib4NbvARB(GLuint index, ref GLbyte v) { - Delegates.glVertexAttrib4NbvARB(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4NbvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib4NbvARB(GLuint index, GLbyte[] v) { @@ -17371,6 +38494,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4NbvARB(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib4NbvARB(index, v); + } public static void VertexAttrib4Niv(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib4Niv(index, v); @@ -17387,6 +38514,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4Niv(GLuint index, ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4Niv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttrib4NivARB(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib4NivARB(index, v); + } + public static void VertexAttrib4NivARB(GLuint index, ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4NivARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4NivARB(GLuint index, GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17399,10 +38554,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttrib4NivARB(GLuint index, System.IntPtr v) - { - Delegates.glVertexAttrib4NivARB(index, v); - } public static void VertexAttrib4Nsv(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib4Nsv(index, v); @@ -17419,10 +38570,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4Nsv(GLuint index, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4Nsv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4NsvARB(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib4NsvARB(index, v); } + public static void VertexAttrib4NsvARB(GLuint index, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4NsvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4NsvARB(GLuint index, GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17459,6 +38634,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4Nubv(GLuint index, ref GLubyte v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4Nubv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4NubvARB(GLuint index, GLubyte[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17471,10 +38658,34 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4NubvARB(GLuint index, ref GLubyte v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4NubvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4NubvARB(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib4NubvARB(index, v); } + public static void VertexAttrib4Nuiv(GLuint index, ref GLuint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4Nuiv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4Nuiv(GLuint index, GLuint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17491,6 +38702,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib4Nuiv(index, v); } + public static void VertexAttrib4NuivARB(GLuint index, ref GLuint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4NuivARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4NuivARB(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib4NuivARB(index, v); @@ -17507,6 +38730,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4Nusv(GLuint index, ref GLushort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4Nusv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4Nusv(GLuint index, GLushort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17523,11 +38758,23 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib4Nusv(index, v); } + public static void VertexAttrib4NusvARB(GLuint index, GLushort[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4NusvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4NusvARB(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib4NusvARB(index, v); } - public static void VertexAttrib4NusvARB(GLuint index, GLushort[] v) + public static void VertexAttrib4NusvARB(GLuint index, ref GLushort v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -17551,9 +38798,17 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib4sNV(index, x, y, z, w); } - public static void VertexAttrib4sv(GLuint index, System.IntPtr v) + public static void VertexAttrib4sv(GLuint index, ref GLshort v) { - Delegates.glVertexAttrib4sv(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4sv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib4sv(GLuint index, GLshort[] v) { @@ -17567,10 +38822,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4sv(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib4sv(index, v); + } public static void VertexAttrib4svARB(GLuint index, System.IntPtr v) { Delegates.glVertexAttrib4svARB(index, v); } + public static void VertexAttrib4svARB(GLuint index, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4svARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4svARB(GLuint index, GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17583,6 +38854,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4svNV(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib4svNV(index, v); + } + public static void VertexAttrib4svNV(GLuint index, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4svNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4svNV(GLuint index, GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17595,10 +38882,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttrib4svNV(GLuint index, System.IntPtr v) - { - Delegates.glVertexAttrib4svNV(index, v); - } public static void VertexAttrib4ubNV(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) { Delegates.glVertexAttrib4ubNV(index, x, y, z, w); @@ -17619,9 +38902,17 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib4ubv(index, v); } - public static void VertexAttrib4ubvARB(GLuint index, System.IntPtr v) + public static void VertexAttrib4ubv(GLuint index, ref GLubyte v) { - Delegates.glVertexAttrib4ubvARB(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4ubv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib4ubvARB(GLuint index, GLubyte[] v) { @@ -17635,6 +38926,38 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttrib4ubvARB(GLuint index, ref GLubyte v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4ubvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttrib4ubvARB(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib4ubvARB(index, v); + } + public static void VertexAttrib4ubvNV(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttrib4ubvNV(index, v); + } + public static void VertexAttrib4ubvNV(GLuint index, ref GLubyte v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4ubvNV(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4ubvNV(GLuint index, GLubyte[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17647,9 +38970,9 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttrib4ubvNV(GLuint index, System.IntPtr v) + public static void VertexAttrib4uiv(GLuint index, System.IntPtr v) { - Delegates.glVertexAttrib4ubvNV(index, v); + Delegates.glVertexAttrib4uiv(index, v); } public static void VertexAttrib4uiv(GLuint index, GLuint[] v) { @@ -17663,9 +38986,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttrib4uiv(GLuint index, System.IntPtr v) + public static void VertexAttrib4uiv(GLuint index, ref GLuint v) { - Delegates.glVertexAttrib4uiv(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4uiv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttrib4uivARB(GLuint index, ref GLuint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4uivARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttrib4uivARB(GLuint index, GLuint[] v) { @@ -17687,6 +39030,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib4usv(index, v); } + public static void VertexAttrib4usv(GLuint index, ref GLushort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4usv(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttrib4usv(GLuint index, GLushort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17715,6 +39070,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttrib4usvARB(index, v); } + public static void VertexAttrib4usvARB(GLuint index, ref GLushort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttrib4usvARB(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttribArrayObjectATI(GLuint index, GLint size, Enums.ATI_vertex_attrib_array_object type, [MarshalAs(UnmanagedType.Bool)] bool normalized, GLsizei stride, GLuint buffer, GLuint offset) { Delegates.glVertexAttribArrayObjectATI(index, size, type, normalized, stride, buffer, offset); @@ -17723,9 +39090,17 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttribI1iEXT(index, x); } - public static void VertexAttribI1ivEXT(GLuint index, System.IntPtr v) + public static void VertexAttribI1ivEXT(GLuint index, ref GLint v) { - Delegates.glVertexAttribI1ivEXT(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribI1ivEXT(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttribI1ivEXT(GLuint index, GLint[] v) { @@ -17739,14 +39114,14 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribI1ivEXT(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttribI1ivEXT(index, v); + } public static void VertexAttribI1uiEXT(GLuint index, GLuint x) { Delegates.glVertexAttribI1uiEXT(index, x); } - public static void VertexAttribI1uivEXT(GLuint index, System.IntPtr v) - { - Delegates.glVertexAttribI1uivEXT(index, v); - } public static void VertexAttribI1uivEXT(GLuint index, GLuint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17759,6 +39134,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribI1uivEXT(GLuint index, ref GLuint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribI1uivEXT(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttribI1uivEXT(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttribI1uivEXT(index, v); + } public static void VertexAttribI2iEXT(GLuint index, GLint x, GLint y) { Delegates.glVertexAttribI2iEXT(index, x, y); @@ -17779,6 +39170,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribI2ivEXT(GLuint index, ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribI2ivEXT(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttribI2uiEXT(GLuint index, GLuint x, GLuint y) { Delegates.glVertexAttribI2uiEXT(index, x, y); @@ -17799,11 +39202,23 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribI2uivEXT(GLuint index, ref GLuint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribI2uivEXT(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttribI3iEXT(GLuint index, GLint x, GLint y, GLint z) { Delegates.glVertexAttribI3iEXT(index, x, y, z); } - public static void VertexAttribI3ivEXT(GLuint index, GLint[] v) + public static void VertexAttribI3ivEXT(GLuint index, ref GLint v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -17819,6 +39234,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttribI3ivEXT(index, v); } + public static void VertexAttribI3ivEXT(GLuint index, GLint[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribI3ivEXT(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttribI3uiEXT(GLuint index, GLuint x, GLuint y, GLuint z) { Delegates.glVertexAttribI3uiEXT(index, x, y, z); @@ -17839,7 +39266,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttribI4bvEXT(GLuint index, GLbyte[] v) + public static void VertexAttribI3uivEXT(GLuint index, ref GLuint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribI3uivEXT(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttribI4bvEXT(GLuint index, ref GLbyte v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -17855,6 +39294,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttribI4bvEXT(index, v); } + public static void VertexAttribI4bvEXT(GLuint index, GLbyte[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribI4bvEXT(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttribI4iEXT(GLuint index, GLint x, GLint y, GLint z, GLint w) { Delegates.glVertexAttribI4iEXT(index, x, y, z, w); @@ -17875,9 +39326,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttribI4svEXT(GLuint index, System.IntPtr v) + public static void VertexAttribI4ivEXT(GLuint index, ref GLint v) { - Delegates.glVertexAttribI4svEXT(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribI4ivEXT(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttribI4svEXT(GLuint index, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribI4svEXT(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttribI4svEXT(GLuint index, GLshort[] v) { @@ -17891,6 +39362,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribI4svEXT(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttribI4svEXT(index, v); + } public static void VertexAttribI4ubvEXT(GLuint index, System.IntPtr v) { Delegates.glVertexAttribI4ubvEXT(index, v); @@ -17907,10 +39382,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribI4ubvEXT(GLuint index, ref GLubyte v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribI4ubvEXT(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttribI4uiEXT(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { Delegates.glVertexAttribI4uiEXT(index, x, y, z, w); } + public static void VertexAttribI4uivEXT(GLuint index, System.IntPtr v) + { + Delegates.glVertexAttribI4uivEXT(index, v); + } public static void VertexAttribI4uivEXT(GLuint index, GLuint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -17923,9 +39414,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttribI4uivEXT(GLuint index, System.IntPtr v) + public static void VertexAttribI4uivEXT(GLuint index, ref GLuint v) { - Delegates.glVertexAttribI4uivEXT(index, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribI4uivEXT(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttribI4usvEXT(GLuint index, ref GLushort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribI4usvEXT(index, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttribI4usvEXT(GLuint index, GLushort[] v) { @@ -17943,6 +39454,10 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttribI4usvEXT(index, v); } + public static void VertexAttribIPointerEXT(GLuint index, GLint size, Enums.NV_vertex_program4 type, GLsizei stride, System.IntPtr pointer) + { + Delegates.glVertexAttribIPointerEXT(index, size, type, stride, pointer); + } public static void VertexAttribIPointerEXT(GLuint index, GLint size, Enums.NV_vertex_program4 type, GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -17955,14 +39470,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttribIPointerEXT(GLuint index, GLint size, Enums.NV_vertex_program4 type, GLsizei stride, System.IntPtr pointer) - { - Delegates.glVertexAttribIPointerEXT(index, size, type, stride, pointer); - } - public static void VertexAttribPointer(GLuint index, GLint size, Enums.VERSION_2_0 type, [MarshalAs(UnmanagedType.Bool)] bool normalized, GLsizei stride, System.IntPtr pointer) - { - Delegates.glVertexAttribPointer(index, size, type, normalized, stride, pointer); - } public static void VertexAttribPointer(GLuint index, GLint size, Enums.VERSION_2_0 type, [MarshalAs(UnmanagedType.Bool)] bool normalized, GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -17975,6 +39482,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribPointer(GLuint index, GLint size, Enums.VERSION_2_0 type, [MarshalAs(UnmanagedType.Bool)] bool normalized, GLsizei stride, System.IntPtr pointer) + { + Delegates.glVertexAttribPointer(index, size, type, normalized, stride, pointer); + } public static void VertexAttribPointerARB(GLuint index, GLint size, Enums.ARB_vertex_program type, [MarshalAs(UnmanagedType.Bool)] bool normalized, GLsizei stride, System.IntPtr pointer) { Delegates.glVertexAttribPointerARB(index, size, type, normalized, stride, pointer); @@ -17991,6 +39502,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribPointerNV(GLuint index, GLint fsize, Enums.NV_vertex_program type, GLsizei stride, System.IntPtr pointer) + { + Delegates.glVertexAttribPointerNV(index, fsize, type, stride, pointer); + } public static void VertexAttribPointerNV(GLuint index, GLint fsize, Enums.NV_vertex_program type, GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -18003,9 +39518,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttribPointerNV(GLuint index, GLint fsize, Enums.NV_vertex_program type, GLsizei stride, System.IntPtr pointer) + public static void VertexAttribs1dvNV(GLuint index, GLsizei count, ref GLdouble v) { - Delegates.glVertexAttribPointerNV(index, fsize, type, stride, pointer); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs1dvNV(index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttribs1dvNV(GLuint index, GLsizei count, System.IntPtr v) { @@ -18023,6 +39546,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribs1fvNV(GLuint index, GLsizei count, System.IntPtr v) + { + Delegates.glVertexAttribs1fvNV(index, count, v); + } public static void VertexAttribs1fvNV(GLuint index, GLsizei count, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -18035,9 +39562,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttribs1fvNV(GLuint index, GLsizei count, System.IntPtr v) + public static void VertexAttribs1fvNV(GLuint index, GLsizei count, ref GLfloat v) { - Delegates.glVertexAttribs1fvNV(index, count, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs1fvNV(index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttribs1hvNV(GLuint index, GLsizei n, GLhalfNV[] v) { @@ -18055,6 +39590,30 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttribs1hvNV(index, n, v); } + public static void VertexAttribs1hvNV(GLuint index, GLsizei n, ref GLhalfNV v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs1hvNV(index, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttribs1svNV(GLuint index, GLsizei count, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs1svNV(index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttribs1svNV(GLuint index, GLsizei count, GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -18071,6 +39630,18 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttribs1svNV(index, count, v); } + public static void VertexAttribs2dvNV(GLuint index, GLsizei count, ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs2dvNV(index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttribs2dvNV(GLuint index, GLsizei count, GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -18103,6 +39674,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribs2fvNV(GLuint index, GLsizei count, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs2fvNV(index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttribs2hvNV(GLuint index, GLsizei n, System.IntPtr v) + { + Delegates.glVertexAttribs2hvNV(index, n, v); + } public static void VertexAttribs2hvNV(GLuint index, GLsizei n, GLhalfNV[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -18115,9 +39702,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttribs2hvNV(GLuint index, GLsizei n, System.IntPtr v) + public static void VertexAttribs2hvNV(GLuint index, GLsizei n, ref GLhalfNV v) { - Delegates.glVertexAttribs2hvNV(index, n, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs2hvNV(index, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttribs2svNV(GLuint index, GLsizei count, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs2svNV(index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttribs2svNV(GLuint index, GLsizei count, GLshort[] v) { @@ -18135,9 +39742,17 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttribs2svNV(index, count, v); } - public static void VertexAttribs3dvNV(GLuint index, GLsizei count, System.IntPtr v) + public static void VertexAttribs3dvNV(GLuint index, GLsizei count, ref GLdouble v) { - Delegates.glVertexAttribs3dvNV(index, count, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs3dvNV(index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttribs3dvNV(GLuint index, GLsizei count, GLdouble[] v) { @@ -18151,6 +39766,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribs3dvNV(GLuint index, GLsizei count, System.IntPtr v) + { + Delegates.glVertexAttribs3dvNV(index, count, v); + } + public static void VertexAttribs3fvNV(GLuint index, GLsizei count, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs3fvNV(index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexAttribs3fvNV(GLuint index, GLsizei count, GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -18167,9 +39798,17 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttribs3fvNV(index, count, v); } - public static void VertexAttribs3hvNV(GLuint index, GLsizei n, System.IntPtr v) + public static void VertexAttribs3hvNV(GLuint index, GLsizei n, ref GLhalfNV v) { - Delegates.glVertexAttribs3hvNV(index, n, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs3hvNV(index, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttribs3hvNV(GLuint index, GLsizei n, GLhalfNV[] v) { @@ -18183,6 +39822,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribs3hvNV(GLuint index, GLsizei n, System.IntPtr v) + { + Delegates.glVertexAttribs3hvNV(index, n, v); + } public static void VertexAttribs3svNV(GLuint index, GLsizei count, GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -18199,7 +39842,19 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttribs3svNV(index, count, v); } - public static void VertexAttribs4dvNV(GLuint index, GLsizei count, GLdouble[] v) + public static void VertexAttribs3svNV(GLuint index, GLsizei count, ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs3svNV(index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttribs4dvNV(GLuint index, GLsizei count, ref GLdouble v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -18215,9 +39870,29 @@ namespace OpenTK.OpenGL { Delegates.glVertexAttribs4dvNV(index, count, v); } - public static void VertexAttribs4fvNV(GLuint index, GLsizei count, System.IntPtr v) + public static void VertexAttribs4dvNV(GLuint index, GLsizei count, GLdouble[] v) { - Delegates.glVertexAttribs4fvNV(index, count, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs4dvNV(index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttribs4fvNV(GLuint index, GLsizei count, ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs4fvNV(index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttribs4fvNV(GLuint index, GLsizei count, GLfloat[] v) { @@ -18231,6 +39906,14 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribs4fvNV(GLuint index, GLsizei count, System.IntPtr v) + { + Delegates.glVertexAttribs4fvNV(index, count, v); + } + public static void VertexAttribs4hvNV(GLuint index, GLsizei n, System.IntPtr v) + { + Delegates.glVertexAttribs4hvNV(index, n, v); + } public static void VertexAttribs4hvNV(GLuint index, GLsizei n, GLhalfNV[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -18243,9 +39926,21 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttribs4hvNV(GLuint index, GLsizei n, System.IntPtr v) + public static void VertexAttribs4hvNV(GLuint index, GLsizei n, ref GLhalfNV v) { - Delegates.glVertexAttribs4hvNV(index, n, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs4hvNV(index, n, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void VertexAttribs4svNV(GLuint index, GLsizei count, System.IntPtr v) + { + Delegates.glVertexAttribs4svNV(index, count, v); } public static void VertexAttribs4svNV(GLuint index, GLsizei count, GLshort[] v) { @@ -18259,13 +39954,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexAttribs4svNV(GLuint index, GLsizei count, System.IntPtr v) + public static void VertexAttribs4svNV(GLuint index, GLsizei count, ref GLshort v) { - Delegates.glVertexAttribs4svNV(index, count, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs4svNV(index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } - public static void VertexAttribs4ubvNV(GLuint index, GLsizei count, System.IntPtr v) + public static void VertexAttribs4ubvNV(GLuint index, GLsizei count, ref GLubyte v) { - Delegates.glVertexAttribs4ubvNV(index, count, v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glVertexAttribs4ubvNV(index, count, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexAttribs4ubvNV(GLuint index, GLsizei count, GLubyte[] v) { @@ -18279,6 +39990,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexAttribs4ubvNV(GLuint index, GLsizei count, System.IntPtr v) + { + Delegates.glVertexAttribs4ubvNV(index, count, v); + } public static void VertexBlendARB(GLint count) { Delegates.glVertexBlendARB(count); @@ -18291,10 +40006,6 @@ namespace OpenTK.OpenGL { Delegates.glVertexBlendEnviATI(pname, param); } - public static void VertexPointer(GLint size, Enums.VertexPointerType type, GLsizei stride, System.IntPtr pointer) - { - Delegates.glVertexPointer(size, type, stride, pointer); - } public static void VertexPointer(GLint size, Enums.VertexPointerType type, GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -18307,6 +40018,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexPointer(GLint size, Enums.VertexPointerType type, GLsizei stride, System.IntPtr pointer) + { + Delegates.glVertexPointer(size, type, stride, pointer); + } public static void VertexPointerEXT(GLint size, Enums.VertexPointerType type, GLsizei stride, GLsizei count, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -18327,30 +40042,6 @@ namespace OpenTK.OpenGL { Delegates.glVertexPointerListIBM(size, type, stride, pointer, ptrstride); } - public static void VertexPointerListIBM(GLint size, Enums.VertexPointerType type, GLint stride, IntPtr[] pointer, GLint ptrstride) - { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointerListIBM(size, type, stride, h0.AddrOfPinnedObject(), ptrstride); - } - finally - { - h0.Free(); - } - } - public static void VertexPointervINTEL(GLint size, Enums.VertexPointerType type, IntPtr[] pointer) - { - GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); - try - { - Delegates.glVertexPointervINTEL(size, type, h0.AddrOfPinnedObject()); - } - finally - { - h0.Free(); - } - } public static void VertexPointervINTEL(GLint size, Enums.VertexPointerType type, System.IntPtr pointer) { Delegates.glVertexPointervINTEL(size, type, pointer); @@ -18359,11 +40050,23 @@ namespace OpenTK.OpenGL { Delegates.glVertexStream1dATI(stream, x); } + public static void VertexStream1dvATI(Enums.ATI_vertex_streams stream, GLdouble[] coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream1dvATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexStream1dvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) { Delegates.glVertexStream1dvATI(stream, coords); } - public static void VertexStream1dvATI(Enums.ATI_vertex_streams stream, GLdouble[] coords) + public static void VertexStream1dvATI(Enums.ATI_vertex_streams stream, ref GLdouble coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); try @@ -18379,11 +40082,23 @@ namespace OpenTK.OpenGL { Delegates.glVertexStream1fATI(stream, x); } + public static void VertexStream1fvATI(Enums.ATI_vertex_streams stream, GLfloat[] coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream1fvATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexStream1fvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) { Delegates.glVertexStream1fvATI(stream, coords); } - public static void VertexStream1fvATI(Enums.ATI_vertex_streams stream, GLfloat[] coords) + public static void VertexStream1fvATI(Enums.ATI_vertex_streams stream, ref GLfloat coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); try @@ -18415,13 +40130,33 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexStream1ivATI(Enums.ATI_vertex_streams stream, ref GLint coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream1ivATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexStream1sATI(Enums.ATI_vertex_streams stream, GLshort x) { Delegates.glVertexStream1sATI(stream, x); } - public static void VertexStream1svATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + public static void VertexStream1svATI(Enums.ATI_vertex_streams stream, ref GLshort coords) { - Delegates.glVertexStream1svATI(stream, coords); + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream1svATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexStream1svATI(Enums.ATI_vertex_streams stream, GLshort[] coords) { @@ -18435,10 +40170,30 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexStream1svATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + { + Delegates.glVertexStream1svATI(stream, coords); + } public static void VertexStream2dATI(Enums.ATI_vertex_streams stream, GLdouble x, GLdouble y) { Delegates.glVertexStream2dATI(stream, x, y); } + public static void VertexStream2dvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + { + Delegates.glVertexStream2dvATI(stream, coords); + } + public static void VertexStream2dvATI(Enums.ATI_vertex_streams stream, ref GLdouble coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream2dvATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexStream2dvATI(Enums.ATI_vertex_streams stream, GLdouble[] coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); @@ -18451,10 +40206,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexStream2dvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) - { - Delegates.glVertexStream2dvATI(stream, coords); - } public static void VertexStream2fATI(Enums.ATI_vertex_streams stream, GLfloat x, GLfloat y) { Delegates.glVertexStream2fATI(stream, x, y); @@ -18475,15 +40226,39 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexStream2fvATI(Enums.ATI_vertex_streams stream, ref GLfloat coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream2fvATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexStream2iATI(Enums.ATI_vertex_streams stream, GLint x, GLint y) { Delegates.glVertexStream2iATI(stream, x, y); } + public static void VertexStream2ivATI(Enums.ATI_vertex_streams stream, GLint[] coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream2ivATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexStream2ivATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) { Delegates.glVertexStream2ivATI(stream, coords); } - public static void VertexStream2ivATI(Enums.ATI_vertex_streams stream, GLint[] coords) + public static void VertexStream2ivATI(Enums.ATI_vertex_streams stream, ref GLint coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); try @@ -18515,10 +40290,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexStream2svATI(Enums.ATI_vertex_streams stream, ref GLshort coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream2svATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexStream3dATI(Enums.ATI_vertex_streams stream, GLdouble x, GLdouble y, GLdouble z) { Delegates.glVertexStream3dATI(stream, x, y, z); } + public static void VertexStream3dvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + { + Delegates.glVertexStream3dvATI(stream, coords); + } public static void VertexStream3dvATI(Enums.ATI_vertex_streams stream, GLdouble[] coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); @@ -18531,14 +40322,26 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexStream3dvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + public static void VertexStream3dvATI(Enums.ATI_vertex_streams stream, ref GLdouble coords) { - Delegates.glVertexStream3dvATI(stream, coords); + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream3dvATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexStream3fATI(Enums.ATI_vertex_streams stream, GLfloat x, GLfloat y, GLfloat z) { Delegates.glVertexStream3fATI(stream, x, y, z); } + public static void VertexStream3fvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + { + Delegates.glVertexStream3fvATI(stream, coords); + } public static void VertexStream3fvATI(Enums.ATI_vertex_streams stream, GLfloat[] coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); @@ -18551,14 +40354,26 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexStream3fvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + public static void VertexStream3fvATI(Enums.ATI_vertex_streams stream, ref GLfloat coords) { - Delegates.glVertexStream3fvATI(stream, coords); + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream3fvATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexStream3iATI(Enums.ATI_vertex_streams stream, GLint x, GLint y, GLint z) { Delegates.glVertexStream3iATI(stream, x, y, z); } + public static void VertexStream3ivATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + { + Delegates.glVertexStream3ivATI(stream, coords); + } public static void VertexStream3ivATI(Enums.ATI_vertex_streams stream, GLint[] coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); @@ -18571,14 +40386,38 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexStream3ivATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + public static void VertexStream3ivATI(Enums.ATI_vertex_streams stream, ref GLint coords) { - Delegates.glVertexStream3ivATI(stream, coords); + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream3ivATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexStream3sATI(Enums.ATI_vertex_streams stream, GLshort x, GLshort y, GLshort z) { Delegates.glVertexStream3sATI(stream, x, y, z); } + public static void VertexStream3svATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + { + Delegates.glVertexStream3svATI(stream, coords); + } + public static void VertexStream3svATI(Enums.ATI_vertex_streams stream, ref GLshort coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream3svATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexStream3svATI(Enums.ATI_vertex_streams stream, GLshort[] coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); @@ -18591,14 +40430,26 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexStream3svATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) - { - Delegates.glVertexStream3svATI(stream, coords); - } public static void VertexStream4dATI(Enums.ATI_vertex_streams stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { Delegates.glVertexStream4dATI(stream, x, y, z, w); } + public static void VertexStream4dvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + { + Delegates.glVertexStream4dvATI(stream, coords); + } + public static void VertexStream4dvATI(Enums.ATI_vertex_streams stream, ref GLdouble coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream4dvATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexStream4dvATI(Enums.ATI_vertex_streams stream, GLdouble[] coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); @@ -18611,14 +40462,26 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexStream4dvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) - { - Delegates.glVertexStream4dvATI(stream, coords); - } public static void VertexStream4fATI(Enums.ATI_vertex_streams stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { Delegates.glVertexStream4fATI(stream, x, y, z, w); } + public static void VertexStream4fvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + { + Delegates.glVertexStream4fvATI(stream, coords); + } + public static void VertexStream4fvATI(Enums.ATI_vertex_streams stream, ref GLfloat coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream4fvATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexStream4fvATI(Enums.ATI_vertex_streams stream, GLfloat[] coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); @@ -18631,14 +40494,26 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexStream4fvATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) - { - Delegates.glVertexStream4fvATI(stream, coords); - } public static void VertexStream4iATI(Enums.ATI_vertex_streams stream, GLint x, GLint y, GLint z, GLint w) { Delegates.glVertexStream4iATI(stream, x, y, z, w); } + public static void VertexStream4ivATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) + { + Delegates.glVertexStream4ivATI(stream, coords); + } + public static void VertexStream4ivATI(Enums.ATI_vertex_streams stream, ref GLint coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream4ivATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexStream4ivATI(Enums.ATI_vertex_streams stream, GLint[] coords) { GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); @@ -18651,10 +40526,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexStream4ivATI(Enums.ATI_vertex_streams stream, System.IntPtr coords) - { - Delegates.glVertexStream4ivATI(stream, coords); - } public static void VertexStream4sATI(Enums.ATI_vertex_streams stream, GLshort x, GLshort y, GLshort z, GLshort w) { Delegates.glVertexStream4sATI(stream, x, y, z, w); @@ -18675,13 +40546,33 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexStream4svATI(Enums.ATI_vertex_streams stream, ref GLshort coords) + { + GCHandle h0 = GCHandle.Alloc(coords, GCHandleType.Pinned); + try + { + Delegates.glVertexStream4svATI(stream, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void VertexWeightfEXT(GLfloat weight) { Delegates.glVertexWeightfEXT(weight); } - public static void VertexWeightfvEXT(System.IntPtr weight) + public static void VertexWeightfvEXT(ref GLfloat weight) { - Delegates.glVertexWeightfvEXT(weight); + GCHandle h0 = GCHandle.Alloc(weight, GCHandleType.Pinned); + try + { + Delegates.glVertexWeightfvEXT(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexWeightfvEXT(GLfloat[] weight) { @@ -18695,10 +40586,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void VertexWeightfvEXT(System.IntPtr weight) + { + Delegates.glVertexWeightfvEXT(weight); + } public static void VertexWeighthNV(GLhalfNV weight) { Delegates.glVertexWeighthNV(weight); } + public static void VertexWeighthvNV(System.IntPtr weight) + { + Delegates.glVertexWeighthvNV(weight); + } public static void VertexWeighthvNV(GLhalfNV[] weight) { GCHandle h0 = GCHandle.Alloc(weight, GCHandleType.Pinned); @@ -18711,9 +40610,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void VertexWeighthvNV(System.IntPtr weight) + public static void VertexWeighthvNV(ref GLhalfNV weight) { - Delegates.glVertexWeighthvNV(weight); + GCHandle h0 = GCHandle.Alloc(weight, GCHandleType.Pinned); + try + { + Delegates.glVertexWeighthvNV(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void VertexWeightPointerEXT(GLsizei size, Enums.EXT_vertex_weighting type, GLsizei stride, System.IntPtr pointer) { @@ -18739,6 +40646,18 @@ namespace OpenTK.OpenGL { Delegates.glWeightbvARB(size, weights); } + public static void WeightbvARB(GLint size, ref GLbyte weights) + { + GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); + try + { + Delegates.glWeightbvARB(size, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WeightbvARB(GLint size, GLbyte[] weights) { GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); @@ -18763,10 +40682,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void WeightdvARB(GLint size, ref GLdouble weights) + { + GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); + try + { + Delegates.glWeightdvARB(size, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WeightdvARB(GLint size, System.IntPtr weights) { Delegates.glWeightdvARB(size, weights); } + public static void WeightfvARB(GLint size, System.IntPtr weights) + { + Delegates.glWeightfvARB(size, weights); + } public static void WeightfvARB(GLint size, GLfloat[] weights) { GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); @@ -18779,13 +40714,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void WeightfvARB(GLint size, System.IntPtr weights) + public static void WeightfvARB(GLint size, ref GLfloat weights) { - Delegates.glWeightfvARB(size, weights); - } - public static void WeightivARB(GLint size, System.IntPtr weights) - { - Delegates.glWeightivARB(size, weights); + GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); + try + { + Delegates.glWeightfvARB(size, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void WeightivARB(GLint size, GLint[] weights) { @@ -18799,6 +40738,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void WeightivARB(GLint size, System.IntPtr weights) + { + Delegates.glWeightivARB(size, weights); + } + public static void WeightivARB(GLint size, ref GLint weights) + { + GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); + try + { + Delegates.glWeightivARB(size, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void WeightPointerARB(GLint size, Enums.ARB_vertex_blend type, GLsizei stride, System.IntPtr pointer) + { + Delegates.glWeightPointerARB(size, type, stride, pointer); + } public static void WeightPointerARB(GLint size, Enums.ARB_vertex_blend type, GLsizei stride, object pointer) { GCHandle h0 = GCHandle.Alloc(pointer, GCHandleType.Pinned); @@ -18811,10 +40770,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void WeightPointerARB(GLint size, Enums.ARB_vertex_blend type, GLsizei stride, System.IntPtr pointer) - { - Delegates.glWeightPointerARB(size, type, stride, pointer); - } public static void WeightsvARB(GLint size, System.IntPtr weights) { Delegates.glWeightsvARB(size, weights); @@ -18831,9 +40786,29 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void WeightubvARB(GLint size, System.IntPtr weights) + public static void WeightsvARB(GLint size, ref GLshort weights) { - Delegates.glWeightubvARB(size, weights); + GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); + try + { + Delegates.glWeightsvARB(size, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void WeightubvARB(GLint size, ref GLubyte weights) + { + GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); + try + { + Delegates.glWeightubvARB(size, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void WeightubvARB(GLint size, GLubyte[] weights) { @@ -18847,6 +40822,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void WeightubvARB(GLint size, System.IntPtr weights) + { + Delegates.glWeightubvARB(size, weights); + } public static void WeightuivARB(GLint size, GLuint[] weights) { GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); @@ -18859,10 +40838,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void WeightuivARB(GLint size, ref GLuint weights) + { + GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); + try + { + Delegates.glWeightuivARB(size, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WeightuivARB(GLint size, System.IntPtr weights) { Delegates.glWeightuivARB(size, weights); } + public static void WeightusvARB(GLint size, System.IntPtr weights) + { + Delegates.glWeightusvARB(size, weights); + } public static void WeightusvARB(GLint size, GLushort[] weights) { GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); @@ -18875,9 +40870,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void WeightusvARB(GLint size, System.IntPtr weights) + public static void WeightusvARB(GLint size, ref GLushort weights) { - Delegates.glWeightusvARB(size, weights); + GCHandle h0 = GCHandle.Alloc(weights, GCHandleType.Pinned); + try + { + Delegates.glWeightusvARB(size, h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void WindowPos2d(GLdouble x, GLdouble y) { @@ -18895,6 +40898,18 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos2dv(v); } + public static void WindowPos2dv(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos2dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WindowPos2dv(GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -18907,7 +40922,7 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void WindowPos2dvARB(GLdouble[] v) + public static void WindowPos2dvARB(ref GLdouble v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -18923,9 +40938,29 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos2dvARB(v); } - public static void WindowPos2dvMESA(System.IntPtr v) + public static void WindowPos2dvARB(GLdouble[] v) { - Delegates.glWindowPos2dvMESA(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos2dvARB(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void WindowPos2dvMESA(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos2dvMESA(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void WindowPos2dvMESA(GLdouble[] v) { @@ -18939,6 +40974,10 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void WindowPos2dvMESA(System.IntPtr v) + { + Delegates.glWindowPos2dvMESA(v); + } public static void WindowPos2f(GLfloat x, GLfloat y) { Delegates.glWindowPos2f(x, y); @@ -18951,6 +40990,18 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos2fMESA(x, y); } + public static void WindowPos2fv(ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos2fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WindowPos2fv(GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -18967,7 +41018,7 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos2fv(v); } - public static void WindowPos2fvARB(GLfloat[] v) + public static void WindowPos2fvARB(ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -18983,6 +41034,22 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos2fvARB(v); } + public static void WindowPos2fvARB(GLfloat[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos2fvARB(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void WindowPos2fvMESA(System.IntPtr v) + { + Delegates.glWindowPos2fvMESA(v); + } public static void WindowPos2fvMESA(GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -18995,9 +41062,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void WindowPos2fvMESA(System.IntPtr v) + public static void WindowPos2fvMESA(ref GLfloat v) { - Delegates.glWindowPos2fvMESA(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos2fvMESA(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void WindowPos2i(GLint x, GLint y) { @@ -19023,11 +41098,23 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void WindowPos2iv(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos2iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WindowPos2iv(System.IntPtr v) { Delegates.glWindowPos2iv(v); } - public static void WindowPos2ivARB(GLint[] v) + public static void WindowPos2ivARB(ref GLint v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -19043,6 +41130,22 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos2ivARB(v); } + public static void WindowPos2ivARB(GLint[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos2ivARB(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void WindowPos2ivMESA(System.IntPtr v) + { + Delegates.glWindowPos2ivMESA(v); + } public static void WindowPos2ivMESA(GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -19055,9 +41158,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void WindowPos2ivMESA(System.IntPtr v) + public static void WindowPos2ivMESA(ref GLint v) { - Delegates.glWindowPos2ivMESA(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos2ivMESA(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void WindowPos2s(GLshort x, GLshort y) { @@ -19071,6 +41182,10 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos2sMESA(x, y); } + public static void WindowPos2sv(System.IntPtr v) + { + Delegates.glWindowPos2sv(v); + } public static void WindowPos2sv(GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -19083,11 +41198,19 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void WindowPos2sv(System.IntPtr v) + public static void WindowPos2sv(ref GLshort v) { - Delegates.glWindowPos2sv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos2sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } - public static void WindowPos2svARB(GLshort[] v) + public static void WindowPos2svARB(ref GLshort v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -19103,6 +41226,18 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos2svARB(v); } + public static void WindowPos2svARB(GLshort[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos2svARB(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WindowPos2svMESA(GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -19115,6 +41250,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void WindowPos2svMESA(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos2svMESA(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WindowPos2svMESA(System.IntPtr v) { Delegates.glWindowPos2svMESA(v); @@ -19131,7 +41278,11 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos3dMESA(x, y, z); } - public static void WindowPos3dv(GLdouble[] v) + public static void WindowPos3dv(System.IntPtr v) + { + Delegates.glWindowPos3dv(v); + } + public static void WindowPos3dv(ref GLdouble v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -19143,9 +41294,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void WindowPos3dv(System.IntPtr v) + public static void WindowPos3dv(GLdouble[] v) { - Delegates.glWindowPos3dv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos3dv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void WindowPos3dvARB(System.IntPtr v) { @@ -19163,11 +41322,35 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void WindowPos3dvARB(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos3dvARB(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void WindowPos3dvMESA(GLdouble[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos3dvMESA(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WindowPos3dvMESA(System.IntPtr v) { Delegates.glWindowPos3dvMESA(v); } - public static void WindowPos3dvMESA(GLdouble[] v) + public static void WindowPos3dvMESA(ref GLdouble v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -19191,7 +41374,11 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos3fMESA(x, y, z); } - public static void WindowPos3fv(GLfloat[] v) + public static void WindowPos3fv(System.IntPtr v) + { + Delegates.glWindowPos3fv(v); + } + public static void WindowPos3fv(ref GLfloat v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -19203,13 +41390,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void WindowPos3fv(System.IntPtr v) + public static void WindowPos3fv(GLfloat[] v) { - Delegates.glWindowPos3fv(v); - } - public static void WindowPos3fvARB(System.IntPtr v) - { - Delegates.glWindowPos3fvARB(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos3fv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void WindowPos3fvARB(GLfloat[] v) { @@ -19223,6 +41414,26 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void WindowPos3fvARB(System.IntPtr v) + { + Delegates.glWindowPos3fvARB(v); + } + public static void WindowPos3fvARB(ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos3fvARB(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void WindowPos3fvMESA(System.IntPtr v) + { + Delegates.glWindowPos3fvMESA(v); + } public static void WindowPos3fvMESA(GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -19235,9 +41446,17 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void WindowPos3fvMESA(System.IntPtr v) + public static void WindowPos3fvMESA(ref GLfloat v) { - Delegates.glWindowPos3fvMESA(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos3fvMESA(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void WindowPos3i(GLint x, GLint y, GLint z) { @@ -19251,7 +41470,7 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos3iMESA(x, y, z); } - public static void WindowPos3iv(GLint[] v) + public static void WindowPos3iv(ref GLint v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); try @@ -19267,6 +41486,30 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos3iv(v); } + public static void WindowPos3iv(GLint[] v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos3iv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void WindowPos3ivARB(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos3ivARB(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WindowPos3ivARB(System.IntPtr v) { Delegates.glWindowPos3ivARB(v); @@ -19283,10 +41526,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void WindowPos3ivMESA(System.IntPtr v) - { - Delegates.glWindowPos3ivMESA(v); - } public static void WindowPos3ivMESA(GLint[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -19299,6 +41538,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void WindowPos3ivMESA(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos3ivMESA(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } + public static void WindowPos3ivMESA(System.IntPtr v) + { + Delegates.glWindowPos3ivMESA(v); + } public static void WindowPos3s(GLshort x, GLshort y, GLshort z) { Delegates.glWindowPos3s(x, y, z); @@ -19311,9 +41566,17 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos3sMESA(x, y, z); } - public static void WindowPos3sv(System.IntPtr v) + public static void WindowPos3sv(ref GLshort v) { - Delegates.glWindowPos3sv(v); + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos3sv(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } } public static void WindowPos3sv(GLshort[] v) { @@ -19327,6 +41590,22 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void WindowPos3sv(System.IntPtr v) + { + Delegates.glWindowPos3sv(v); + } + public static void WindowPos3svARB(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos3svARB(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WindowPos3svARB(GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -19359,10 +41638,34 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos3svMESA(v); } + public static void WindowPos3svMESA(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos3svMESA(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { Delegates.glWindowPos4dMESA(x, y, z, w); } + public static void WindowPos4dvMESA(ref GLdouble v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos4dvMESA(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WindowPos4dvMESA(GLdouble[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -19383,6 +41686,22 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos4fMESA(x, y, z, w); } + public static void WindowPos4fvMESA(System.IntPtr v) + { + Delegates.glWindowPos4fvMESA(v); + } + public static void WindowPos4fvMESA(ref GLfloat v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos4fvMESA(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WindowPos4fvMESA(GLfloat[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -19395,10 +41714,6 @@ namespace OpenTK.OpenGL h0.Free(); } } - public static void WindowPos4fvMESA(System.IntPtr v) - { - Delegates.glWindowPos4fvMESA(v); - } public static void WindowPos4iMESA(GLint x, GLint y, GLint z, GLint w) { Delegates.glWindowPos4iMESA(x, y, z, w); @@ -19415,6 +41730,18 @@ namespace OpenTK.OpenGL h0.Free(); } } + public static void WindowPos4ivMESA(ref GLint v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos4ivMESA(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WindowPos4ivMESA(System.IntPtr v) { Delegates.glWindowPos4ivMESA(v); @@ -19423,6 +41750,18 @@ namespace OpenTK.OpenGL { Delegates.glWindowPos4sMESA(x, y, z, w); } + public static void WindowPos4svMESA(ref GLshort v) + { + GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); + try + { + Delegates.glWindowPos4svMESA(h0.AddrOfPinnedObject()); + } + finally + { + h0.Free(); + } + } public static void WindowPos4svMESA(GLshort[] v) { GCHandle h0 = GCHandle.Alloc(v, GCHandleType.Pinned); @@ -19522,7 +41861,7 @@ namespace OpenTK.OpenGL public delegate void BeginQueryARB(Enums.ARB_occlusion_query target, GLuint id); public static BeginQueryARB glBeginQueryARB = ((BeginQueryARB)(GL.GetDelegateForExtensionMethod("glBeginQueryARB", typeof(BeginQueryARB)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void BeginTransformFeedbackNV(Enums.NV_transform_feedback primitiveMode); + public delegate void BeginTransformFeedbackNV(Enums.GLenum primitiveMode); public static BeginTransformFeedbackNV glBeginTransformFeedbackNV = ((BeginTransformFeedbackNV)(GL.GetDelegateForExtensionMethod("glBeginTransformFeedbackNV", typeof(BeginTransformFeedbackNV)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void BeginVertexShaderEXT(); @@ -19540,13 +41879,13 @@ namespace OpenTK.OpenGL public delegate void BindBufferARB(Enums.ARB_vertex_buffer_object target, GLuint buffer); public static BindBufferARB glBindBufferARB = ((BindBufferARB)(GL.GetDelegateForExtensionMethod("glBindBufferARB", typeof(BindBufferARB)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void BindBufferBaseNV(Enums.NV_transform_feedback target, GLuint index, GLuint buffer); + public delegate void BindBufferBaseNV(Enums.GLenum target, GLuint index, GLuint buffer); public static BindBufferBaseNV glBindBufferBaseNV = ((BindBufferBaseNV)(GL.GetDelegateForExtensionMethod("glBindBufferBaseNV", typeof(BindBufferBaseNV)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void BindBufferOffsetNV(Enums.NV_transform_feedback target, GLuint index, GLuint buffer, GLintptr offset); + public delegate void BindBufferOffsetNV(Enums.GLenum target, GLuint index, GLuint buffer, GLintptr offset); public static BindBufferOffsetNV glBindBufferOffsetNV = ((BindBufferOffsetNV)(GL.GetDelegateForExtensionMethod("glBindBufferOffsetNV", typeof(BindBufferOffsetNV)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void BindBufferRangeNV(Enums.NV_transform_feedback target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); + public delegate void BindBufferRangeNV(Enums.GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); public static BindBufferRangeNV glBindBufferRangeNV = ((BindBufferRangeNV)(GL.GetDelegateForExtensionMethod("glBindBufferRangeNV", typeof(BindBufferRangeNV)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void BindFragDataLocationEXT(GLuint program, GLuint color, string name); @@ -19657,10 +41996,10 @@ namespace OpenTK.OpenGL public delegate void BlendFuncSeparateEXT(Enums.EXT_blend_func_separate sfactorRGB, Enums.EXT_blend_func_separate dfactorRGB, Enums.EXT_blend_func_separate sfactorAlpha, Enums.EXT_blend_func_separate dfactorAlpha); public static BlendFuncSeparateEXT glBlendFuncSeparateEXT = ((BlendFuncSeparateEXT)(GL.GetDelegateForExtensionMethod("glBlendFuncSeparateEXT", typeof(BlendFuncSeparateEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void BlendFuncSeparateINGR(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); + public delegate void BlendFuncSeparateINGR(Enums.GLenum sfactorRGB, Enums.GLenum dfactorRGB, Enums.GLenum sfactorAlpha, Enums.GLenum dfactorAlpha); public static BlendFuncSeparateINGR glBlendFuncSeparateINGR = ((BlendFuncSeparateINGR)(GL.GetDelegateForExtensionMethod("glBlendFuncSeparateINGR", typeof(BlendFuncSeparateINGR)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void BlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, Enums.ClearBufferMask mask, Enums.EXT_framebuffer_blit filter); + public delegate void BlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, Enums.ClearBufferMask mask, Enums.GLenum filter); public static BlitFramebufferEXT glBlitFramebufferEXT = ((BlitFramebufferEXT)(GL.GetDelegateForExtensionMethod("glBlitFramebufferEXT", typeof(BlitFramebufferEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void BufferData(Enums.VERSION_1_5 target, GLsizeiptr size, System.IntPtr data, Enums.VERSION_1_5 usage); @@ -19669,7 +42008,7 @@ namespace OpenTK.OpenGL public delegate void BufferDataARB(Enums.ARB_vertex_buffer_object target, GLsizeiptrARB size, System.IntPtr data, Enums.ARB_vertex_buffer_object usage); public static BufferDataARB glBufferDataARB = ((BufferDataARB)(GL.GetDelegateForExtensionMethod("glBufferDataARB", typeof(BufferDataARB)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void BufferParameteriAPPLE(Enums.APPLE_flush_buffer_range target, Enums.APPLE_flush_buffer_range pname, GLint param); + public delegate void BufferParameteriAPPLE(Enums.GLenum target, Enums.GLenum pname, GLint param); public static BufferParameteriAPPLE glBufferParameteriAPPLE = ((BufferParameteriAPPLE)(GL.GetDelegateForExtensionMethod("glBufferParameteriAPPLE", typeof(BufferParameteriAPPLE)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void BufferSubData(Enums.VERSION_1_5 target, GLintptr offset, GLsizeiptr size, System.IntPtr data); @@ -19684,7 +42023,7 @@ namespace OpenTK.OpenGL public delegate void CallLists(GLsizei n, Enums.ListNameType type, System.IntPtr lists); public static CallLists glCallLists = ((CallLists)(GL.GetDelegateForExtensionMethod("glCallLists", typeof(CallLists)))) ?? new CallLists(Imports.CallLists); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate GLenum CheckFramebufferStatusEXT(Enums.EXT_framebuffer_object target); + public delegate Enums.GLenum CheckFramebufferStatusEXT(Enums.EXT_framebuffer_object target); public static CheckFramebufferStatusEXT glCheckFramebufferStatusEXT = ((CheckFramebufferStatusEXT)(GL.GetDelegateForExtensionMethod("glCheckFramebufferStatusEXT", typeof(CheckFramebufferStatusEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void ClampColorARB(Enums.ARB_color_buffer_float target, Enums.ARB_color_buffer_float clamp); @@ -20203,7 +42542,7 @@ namespace OpenTK.OpenGL public delegate void DisableClientState(Enums.EnableCap array); public static DisableClientState glDisableClientState = ((DisableClientState)(GL.GetDelegateForExtensionMethod("glDisableClientState", typeof(DisableClientState)))) ?? new DisableClientState(Imports.DisableClientState); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void DisableIndexedEXT(Enums.EXT_draw_buffers2 target, GLuint index); + public delegate void DisableIndexedEXT(Enums.GLenum target, GLuint index); public static DisableIndexedEXT glDisableIndexedEXT = ((DisableIndexedEXT)(GL.GetDelegateForExtensionMethod("glDisableIndexedEXT", typeof(DisableIndexedEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void DisableVariantClientStateEXT(GLuint id); @@ -20242,7 +42581,7 @@ namespace OpenTK.OpenGL public delegate void DrawElementArrayATI(Enums.BeginMode mode, GLsizei count); public static DrawElementArrayATI glDrawElementArrayATI = ((DrawElementArrayATI)(GL.GetDelegateForExtensionMethod("glDrawElementArrayATI", typeof(DrawElementArrayATI)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void DrawElements(Enums.BeginMode mode, GLsizei count, GLenum type, System.IntPtr indices); + public delegate void DrawElements(Enums.BeginMode mode, GLsizei count, Enums.GLenum type, System.IntPtr indices); public static DrawElements glDrawElements = ((DrawElements)(GL.GetDelegateForExtensionMethod("glDrawElements", typeof(DrawElements)))) ?? new DrawElements(Imports.DrawElements); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void DrawElementsInstancedEXT(Enums.BeginMode mode, GLsizei count, Enums.EXT_draw_instanced type, System.IntPtr indices, GLsizei primcount); @@ -20293,7 +42632,7 @@ namespace OpenTK.OpenGL public delegate void EnableClientState(Enums.EnableCap array); public static EnableClientState glEnableClientState = ((EnableClientState)(GL.GetDelegateForExtensionMethod("glEnableClientState", typeof(EnableClientState)))) ?? new EnableClientState(Imports.EnableClientState); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void EnableIndexedEXT(Enums.EXT_draw_buffers2 target, GLuint index); + public delegate void EnableIndexedEXT(Enums.GLenum target, GLuint index); public static EnableIndexedEXT glEnableIndexedEXT = ((EnableIndexedEXT)(GL.GetDelegateForExtensionMethod("glEnableIndexedEXT", typeof(EnableIndexedEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void EnableVariantClientStateEXT(GLuint id); @@ -20401,7 +42740,7 @@ namespace OpenTK.OpenGL public delegate void Flush(); public static Flush glFlush = ((Flush)(GL.GetDelegateForExtensionMethod("glFlush", typeof(Flush)))) ?? new Flush(Imports.Flush); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void FlushMappedBufferRangeAPPLE(Enums.APPLE_flush_buffer_range target, GLintptr offset, GLsizeiptr size); + public delegate void FlushMappedBufferRangeAPPLE(Enums.GLenum target, GLintptr offset, GLsizeiptr size); public static FlushMappedBufferRangeAPPLE glFlushMappedBufferRangeAPPLE = ((FlushMappedBufferRangeAPPLE)(GL.GetDelegateForExtensionMethod("glFlushMappedBufferRangeAPPLE", typeof(FlushMappedBufferRangeAPPLE)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void FlushPixelDataRangeNV(Enums.NV_pixel_data_range target); @@ -20512,13 +42851,13 @@ namespace OpenTK.OpenGL public delegate void FramebufferRenderbufferEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.EXT_framebuffer_object renderbuffertarget, GLuint renderbuffer); public static FramebufferRenderbufferEXT glFramebufferRenderbufferEXT = ((FramebufferRenderbufferEXT)(GL.GetDelegateForExtensionMethod("glFramebufferRenderbufferEXT", typeof(FramebufferRenderbufferEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void FramebufferTexture1DEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.EXT_framebuffer_object textarget, GLuint texture, GLint level); + public delegate void FramebufferTexture1DEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.GLenum textarget, GLuint texture, GLint level); public static FramebufferTexture1DEXT glFramebufferTexture1DEXT = ((FramebufferTexture1DEXT)(GL.GetDelegateForExtensionMethod("glFramebufferTexture1DEXT", typeof(FramebufferTexture1DEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void FramebufferTexture2DEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.EXT_framebuffer_object textarget, GLuint texture, GLint level); + public delegate void FramebufferTexture2DEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.GLenum textarget, GLuint texture, GLint level); public static FramebufferTexture2DEXT glFramebufferTexture2DEXT = ((FramebufferTexture2DEXT)(GL.GetDelegateForExtensionMethod("glFramebufferTexture2DEXT", typeof(FramebufferTexture2DEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void FramebufferTexture3DEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.EXT_framebuffer_object textarget, GLuint texture, GLint level, GLint zoffset); + public delegate void FramebufferTexture3DEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.GLenum textarget, GLuint texture, GLint level, GLint zoffset); public static FramebufferTexture3DEXT glFramebufferTexture3DEXT = ((FramebufferTexture3DEXT)(GL.GetDelegateForExtensionMethod("glFramebufferTexture3DEXT", typeof(FramebufferTexture3DEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void FramebufferTextureEXT(Enums.NV_geometry_program4 target, Enums.NV_geometry_program4 attachment, GLuint texture, GLint level); @@ -20551,7 +42890,7 @@ namespace OpenTK.OpenGL public delegate void GenBuffersARB(GLsizei n, [In, Out()] System.IntPtr buffers); public static GenBuffersARB glGenBuffersARB = ((GenBuffersARB)(GL.GetDelegateForExtensionMethod("glGenBuffersARB", typeof(GenBuffersARB)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void GenerateMipmapEXT(Enums.EXT_framebuffer_object target); + public delegate void GenerateMipmapEXT(Enums.GLenum target); public static GenerateMipmapEXT glGenerateMipmapEXT = ((GenerateMipmapEXT)(GL.GetDelegateForExtensionMethod("glGenerateMipmapEXT", typeof(GenerateMipmapEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void GenFencesAPPLE(GLsizei n, [In, Out()] System.IntPtr fences); @@ -20635,7 +42974,7 @@ namespace OpenTK.OpenGL public delegate GLint GetAttribLocationARB(GLhandleARB programObj, string name); public static GetAttribLocationARB glGetAttribLocationARB = ((GetAttribLocationARB)(GL.GetDelegateForExtensionMethod("glGetAttribLocationARB", typeof(GetAttribLocationARB)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void GetBooleanIndexedvEXT(Enums.EXT_draw_buffers2 target, GLuint index, [In, Out()] System.IntPtr data); + public delegate void GetBooleanIndexedvEXT(Enums.GLenum target, GLuint index, [In, Out()] System.IntPtr data); public static GetBooleanIndexedvEXT glGetBooleanIndexedvEXT = ((GetBooleanIndexedvEXT)(GL.GetDelegateForExtensionMethod("glGetBooleanIndexedvEXT", typeof(GetBooleanIndexedvEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void GetBooleanv(Enums.GetPName pname, [In, Out()] System.IntPtr @params); @@ -20734,7 +43073,7 @@ namespace OpenTK.OpenGL public delegate void GetDoublev(Enums.GetPName pname, [In, Out()] System.IntPtr @params); public static GetDoublev glGetDoublev = ((GetDoublev)(GL.GetDelegateForExtensionMethod("glGetDoublev", typeof(GetDoublev)))) ?? new GetDoublev(Imports.GetDoublev); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate GLenum GetError(); + public delegate Enums.GLenum GetError(); public static GetError glGetError = ((GetError)(GL.GetDelegateForExtensionMethod("glGetError", typeof(GetError)))) ?? new GetError(Imports.GetError); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void GetFenceivNV(GLuint fence, Enums.NV_fence pname, [In, Out()] System.IntPtr @params); @@ -20767,7 +43106,7 @@ namespace OpenTK.OpenGL public delegate void GetFragmentMaterialivSGIX(Enums.MaterialFace face, Enums.MaterialParameter pname, [In, Out()] System.IntPtr @params); public static GetFragmentMaterialivSGIX glGetFragmentMaterialivSGIX = ((GetFragmentMaterialivSGIX)(GL.GetDelegateForExtensionMethod("glGetFragmentMaterialivSGIX", typeof(GetFragmentMaterialivSGIX)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void GetFramebufferAttachmentParameterivEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.EXT_framebuffer_object pname, [In, Out()] System.IntPtr @params); + public delegate void GetFramebufferAttachmentParameterivEXT(Enums.EXT_framebuffer_object target, Enums.EXT_framebuffer_object attachment, Enums.GLenum pname, [In, Out()] System.IntPtr @params); public static GetFramebufferAttachmentParameterivEXT glGetFramebufferAttachmentParameterivEXT = ((GetFramebufferAttachmentParameterivEXT)(GL.GetDelegateForExtensionMethod("glGetFramebufferAttachmentParameterivEXT", typeof(GetFramebufferAttachmentParameterivEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate GLhandleARB GetHandleARB(Enums.ARB_shader_objects pname); @@ -20803,7 +43142,7 @@ namespace OpenTK.OpenGL public delegate GLint GetInstrumentsSGIX(); public static GetInstrumentsSGIX glGetInstrumentsSGIX = ((GetInstrumentsSGIX)(GL.GetDelegateForExtensionMethod("glGetInstrumentsSGIX", typeof(GetInstrumentsSGIX)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void GetIntegerIndexedvEXT(Enums.EXT_draw_buffers2 target, GLuint index, [In, Out()] System.IntPtr data); + public delegate void GetIntegerIndexedvEXT(Enums.GLenum target, GLuint index, [In, Out()] System.IntPtr data); public static GetIntegerIndexedvEXT glGetIntegerIndexedvEXT = ((GetIntegerIndexedvEXT)(GL.GetDelegateForExtensionMethod("glGetIntegerIndexedvEXT", typeof(GetIntegerIndexedvEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void GetIntegerv(Enums.GetPName pname, [In, Out()] System.IntPtr @params); @@ -20989,7 +43328,7 @@ namespace OpenTK.OpenGL public delegate void GetQueryivARB(Enums.ARB_occlusion_query target, Enums.ARB_occlusion_query pname, [In, Out()] System.IntPtr @params); public static GetQueryivARB glGetQueryivARB = ((GetQueryivARB)(GL.GetDelegateForExtensionMethod("glGetQueryivARB", typeof(GetQueryivARB)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void GetQueryObjecti64vEXT(GLuint id, Enums.EXT_timer_query pname, [In, Out()] System.IntPtr @params); + public delegate void GetQueryObjecti64vEXT(GLuint id, Enums.GLenum pname, [In, Out()] System.IntPtr @params); public static GetQueryObjecti64vEXT glGetQueryObjecti64vEXT = ((GetQueryObjecti64vEXT)(GL.GetDelegateForExtensionMethod("glGetQueryObjecti64vEXT", typeof(GetQueryObjecti64vEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void GetQueryObjectiv(GLuint id, Enums.VERSION_1_5 pname, [In, Out()] System.IntPtr @params); @@ -20998,7 +43337,7 @@ namespace OpenTK.OpenGL public delegate void GetQueryObjectivARB(GLuint id, Enums.ARB_occlusion_query pname, [In, Out()] System.IntPtr @params); public static GetQueryObjectivARB glGetQueryObjectivARB = ((GetQueryObjectivARB)(GL.GetDelegateForExtensionMethod("glGetQueryObjectivARB", typeof(GetQueryObjectivARB)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void GetQueryObjectui64vEXT(GLuint id, Enums.EXT_timer_query pname, [In, Out()] System.IntPtr @params); + public delegate void GetQueryObjectui64vEXT(GLuint id, Enums.GLenum pname, [In, Out()] System.IntPtr @params); public static GetQueryObjectui64vEXT glGetQueryObjectui64vEXT = ((GetQueryObjectui64vEXT)(GL.GetDelegateForExtensionMethod("glGetQueryObjectui64vEXT", typeof(GetQueryObjectui64vEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void GetQueryObjectuiv(GLuint id, Enums.VERSION_1_5 pname, [In, Out()] System.IntPtr @params); @@ -21217,7 +43556,7 @@ namespace OpenTK.OpenGL public delegate void HistogramEXT(Enums.HistogramTargetEXT target, GLsizei width, Enums.PixelInternalFormat internalformat, [MarshalAs(UnmanagedType.Bool)] bool sink); public static HistogramEXT glHistogramEXT = ((HistogramEXT)(GL.GetDelegateForExtensionMethod("glHistogramEXT", typeof(HistogramEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void IglooInterfaceSGIX(GLenum pname, System.IntPtr @params); + public delegate void IglooInterfaceSGIX(Enums.GLenum pname, System.IntPtr @params); public static IglooInterfaceSGIX glIglooInterfaceSGIX = ((IglooInterfaceSGIX)(GL.GetDelegateForExtensionMethod("glIglooInterfaceSGIX", typeof(IglooInterfaceSGIX)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void ImageTransformParameterfHP(Enums.HP_image_transform target, Enums.HP_image_transform pname, GLfloat param); @@ -21304,7 +43643,7 @@ namespace OpenTK.OpenGL public delegate GLboolean IsEnabled(Enums.EnableCap cap); public static IsEnabled glIsEnabled = ((IsEnabled)(GL.GetDelegateForExtensionMethod("glIsEnabled", typeof(IsEnabled)))) ?? new IsEnabled(Imports.IsEnabled); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate GLboolean IsEnabledIndexedEXT(Enums.EXT_draw_buffers2 target, GLuint index); + public delegate GLboolean IsEnabledIndexedEXT(Enums.GLenum target, GLuint index); public static IsEnabledIndexedEXT glIsEnabledIndexedEXT = ((IsEnabledIndexedEXT)(GL.GetDelegateForExtensionMethod("glIsEnabledIndexedEXT", typeof(IsEnabledIndexedEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate GLboolean IsFenceAPPLE(GLuint fence); @@ -22261,7 +44600,7 @@ namespace OpenTK.OpenGL public delegate void RenderbufferStorageMultisampleCoverageNV(Enums.NV_framebuffer_multisample_coverage target, GLsizei coverageSamples, GLsizei colorSamples, Enums.PixelInternalFormat internalformat, GLsizei width, GLsizei height); public static RenderbufferStorageMultisampleCoverageNV glRenderbufferStorageMultisampleCoverageNV = ((RenderbufferStorageMultisampleCoverageNV)(GL.GetDelegateForExtensionMethod("glRenderbufferStorageMultisampleCoverageNV", typeof(RenderbufferStorageMultisampleCoverageNV)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void RenderbufferStorageMultisampleEXT(Enums.EXT_framebuffer_multisample target, GLsizei samples, Enums.EXT_framebuffer_multisample internalformat, GLsizei width, GLsizei height); + public delegate void RenderbufferStorageMultisampleEXT(Enums.GLenum target, GLsizei samples, Enums.GLenum internalformat, GLsizei width, GLsizei height); public static RenderbufferStorageMultisampleEXT glRenderbufferStorageMultisampleEXT = ((RenderbufferStorageMultisampleEXT)(GL.GetDelegateForExtensionMethod("glRenderbufferStorageMultisampleEXT", typeof(RenderbufferStorageMultisampleEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate GLint RenderMode(Enums.RenderingMode mode); @@ -22645,7 +44984,7 @@ namespace OpenTK.OpenGL public delegate GLboolean TestObjectAPPLE(Enums.APPLE_fence @object, GLuint name); public static TestObjectAPPLE glTestObjectAPPLE = ((TestObjectAPPLE)(GL.GetDelegateForExtensionMethod("glTestObjectAPPLE", typeof(TestObjectAPPLE)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void TexBufferEXT(Enums.TextureTarget target, Enums.EXT_texture_buffer_object internalformat, GLuint buffer); + public delegate void TexBufferEXT(Enums.TextureTarget target, Enums.GLenum internalformat, GLuint buffer); public static TexBufferEXT glTexBufferEXT = ((TexBufferEXT)(GL.GetDelegateForExtensionMethod("glTexBufferEXT", typeof(TexBufferEXT)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void TexBumpParameterfvATI(Enums.ATI_envmap_bumpmap pname, System.IntPtr param); @@ -22930,10 +45269,10 @@ namespace OpenTK.OpenGL public delegate void TrackMatrixNV(Enums.NV_vertex_program target, GLuint address, Enums.NV_vertex_program matrix, Enums.NV_vertex_program transform); public static TrackMatrixNV glTrackMatrixNV = ((TrackMatrixNV)(GL.GetDelegateForExtensionMethod("glTrackMatrixNV", typeof(TrackMatrixNV)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void TransformFeedbackAttribsNV(GLuint count, System.IntPtr attribs, Enums.NV_transform_feedback bufferMode); + public delegate void TransformFeedbackAttribsNV(GLuint count, System.IntPtr attribs, Enums.GLenum bufferMode); public static TransformFeedbackAttribsNV glTransformFeedbackAttribsNV = ((TransformFeedbackAttribsNV)(GL.GetDelegateForExtensionMethod("glTransformFeedbackAttribsNV", typeof(TransformFeedbackAttribsNV)))); [System.Security.SuppressUnmanagedCodeSecurity()] - public delegate void TransformFeedbackVaryingsNV(GLuint program, GLsizei count, System.IntPtr locations, Enums.NV_transform_feedback bufferMode); + public delegate void TransformFeedbackVaryingsNV(GLuint program, GLsizei count, System.IntPtr locations, Enums.GLenum bufferMode); public static TransformFeedbackVaryingsNV glTransformFeedbackVaryingsNV = ((TransformFeedbackVaryingsNV)(GL.GetDelegateForExtensionMethod("glTransformFeedbackVaryingsNV", typeof(TransformFeedbackVaryingsNV)))); [System.Security.SuppressUnmanagedCodeSecurity()] public delegate void Translated(GLdouble x, GLdouble y, GLdouble z); @@ -24707,7 +47046,7 @@ namespace OpenTK.OpenGL #region DrawElements [System.Security.SuppressUnmanagedCodeSecurity()] [DllImport(GL.GL_NATIVE_LIBRARY, EntryPoint = "glDrawElements", ExactSpelling = true)] - public extern static void DrawElements(Enums.BeginMode mode, GLsizei count, GLenum type, System.IntPtr indices); + public extern static void DrawElements(Enums.BeginMode mode, GLsizei count, Enums.GLenum type, System.IntPtr indices); #endregion #region DrawPixels @@ -25061,7 +47400,7 @@ namespace OpenTK.OpenGL #region GetError [System.Security.SuppressUnmanagedCodeSecurity()] [DllImport(GL.GL_NATIVE_LIBRARY, EntryPoint = "glGetError", ExactSpelling = true)] - public extern static GLenum GetError(); + public extern static Enums.GLenum GetError(); #endregion #region GetFloatv diff --git a/Source/OpenGL/OpenGL/Bindings/GLEnums.cs b/Source/OpenGL/OpenGL/Bindings/GLEnums.cs index 759af225..1dcc7fe0 100644 --- a/Source/OpenGL/OpenGL/Bindings/GLEnums.cs +++ b/Source/OpenGL/OpenGL/Bindings/GLEnums.cs @@ -12,6 +12,2996 @@ namespace OpenTK.OpenGL.Enums { using System; + public enum GLenum + { + CURRENT_BIT = 0x00000001, + POINT_BIT = 0x00000002, + LINE_BIT = 0x00000004, + POLYGON_BIT = 0x00000008, + POLYGON_STIPPLE_BIT = 0x00000010, + PIXEL_MODE_BIT = 0x00000020, + LIGHTING_BIT = 0x00000040, + FOG_BIT = 0x00000080, + DEPTH_BUFFER_BIT = 0x00000100, + ACCUM_BUFFER_BIT = 0x00000200, + STENCIL_BUFFER_BIT = 0x00000400, + VIEWPORT_BIT = 0x00000800, + TRANSFORM_BIT = 0x00001000, + ENABLE_BIT = 0x00002000, + COLOR_BUFFER_BIT = 0x00004000, + HINT_BIT = 0x00008000, + EVAL_BIT = 0x00010000, + LIST_BIT = 0x00020000, + TEXTURE_BIT = 0x00040000, + SCISSOR_BIT = 0x00080000, + ALL_ATTRIB_BITS = unchecked((Int32)0xFFFFFFFF), + CLIENT_PIXEL_STORE_BIT = 0x00000001, + CLIENT_VERTEX_ARRAY_BIT = 0x00000002, + CLIENT_ALL_ATTRIB_BITS = unchecked((Int32)0xFFFFFFFF), + FALSE = 0, + TRUE = 1, + POINTS = 0x0000, + LINES = 0x0001, + LINE_LOOP = 0x0002, + LINE_STRIP = 0x0003, + TRIANGLES = 0x0004, + TRIANGLE_STRIP = 0x0005, + TRIANGLE_FAN = 0x0006, + QUADS = 0x0007, + QUAD_STRIP = 0x0008, + POLYGON = 0x0009, + ACCUM = 0x0100, + LOAD = 0x0101, + RETURN = 0x0102, + MULT = 0x0103, + ADD = 0x0104, + NEVER = 0x0200, + LESS = 0x0201, + EQUAL = 0x0202, + LEQUAL = 0x0203, + GREATER = 0x0204, + NOTEQUAL = 0x0205, + GEQUAL = 0x0206, + ALWAYS = 0x0207, + ZERO = 0, + ONE = 1, + SRC_COLOR = 0x0300, + ONE_MINUS_SRC_COLOR = 0x0301, + SRC_ALPHA = 0x0302, + ONE_MINUS_SRC_ALPHA = 0x0303, + DST_ALPHA = 0x0304, + ONE_MINUS_DST_ALPHA = 0x0305, + CONSTANT_COLOR_EXT = EXT_blend_color.CONSTANT_COLOR_EXT, + ONE_MINUS_CONSTANT_COLOR_EXT = EXT_blend_color.ONE_MINUS_CONSTANT_COLOR_EXT, + CONSTANT_ALPHA_EXT = EXT_blend_color.CONSTANT_ALPHA_EXT, + ONE_MINUS_CONSTANT_ALPHA_EXT = EXT_blend_color.ONE_MINUS_CONSTANT_ALPHA_EXT, + DST_COLOR = 0x0306, + ONE_MINUS_DST_COLOR = 0x0307, + SRC_ALPHA_SATURATE = 0x0308, + LOGIC_OP = GetPName.LOGIC_OP, + FUNC_ADD_EXT = EXT_blend_minmax.FUNC_ADD_EXT, + MIN_EXT = EXT_blend_minmax.MIN_EXT, + MAX_EXT = EXT_blend_minmax.MAX_EXT, + FUNC_SUBTRACT_EXT = EXT_blend_subtract.FUNC_SUBTRACT_EXT, + FUNC_REVERSE_SUBTRACT_EXT = EXT_blend_subtract.FUNC_REVERSE_SUBTRACT_EXT, + ALPHA_MIN_SGIX = SGIX_blend_alpha_minmax.ALPHA_MIN_SGIX, + ALPHA_MAX_SGIX = SGIX_blend_alpha_minmax.ALPHA_MAX_SGIX, + FRONT = DrawBufferMode.FRONT, + BACK = DrawBufferMode.BACK, + FRONT_AND_BACK = DrawBufferMode.FRONT_AND_BACK, + AMBIENT = LightParameter.AMBIENT, + DIFFUSE = LightParameter.DIFFUSE, + SPECULAR = LightParameter.SPECULAR, + EMISSION = MaterialParameter.EMISSION, + AMBIENT_AND_DIFFUSE = MaterialParameter.AMBIENT_AND_DIFFUSE, + BYTE = DataType.BYTE, + UNSIGNED_BYTE = DataType.UNSIGNED_BYTE, + SHORT = DataType.SHORT, + UNSIGNED_SHORT = DataType.UNSIGNED_SHORT, + INT = DataType.INT, + UNSIGNED_INT = DataType.UNSIGNED_INT, + FLOAT = DataType.FLOAT, + DOUBLE = DataType.DOUBLE, + COLOR_TABLE_SCALE_SGI = SGI_color_table.COLOR_TABLE_SCALE_SGI, + COLOR_TABLE_BIAS_SGI = SGI_color_table.COLOR_TABLE_BIAS_SGI, + COLOR_TABLE_SGI = SGI_color_table.COLOR_TABLE_SGI, + POST_CONVOLUTION_COLOR_TABLE_SGI = SGI_color_table.POST_CONVOLUTION_COLOR_TABLE_SGI, + POST_COLOR_MATRIX_COLOR_TABLE_SGI = SGI_color_table.POST_COLOR_MATRIX_COLOR_TABLE_SGI, + PROXY_COLOR_TABLE_SGI = SGI_color_table.PROXY_COLOR_TABLE_SGI, + PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI = SGI_color_table.PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI, + PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI = SGI_color_table.PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI, + TEXTURE_COLOR_TABLE_SGI = SGI_texture_color_table.TEXTURE_COLOR_TABLE_SGI, + PROXY_TEXTURE_COLOR_TABLE_SGI = SGI_texture_color_table.PROXY_TEXTURE_COLOR_TABLE_SGI, + REDUCE_EXT = EXT_convolution.REDUCE_EXT, + CONVOLUTION_BORDER_MODE_EXT = EXT_convolution.CONVOLUTION_BORDER_MODE_EXT, + CONVOLUTION_FILTER_SCALE_EXT = EXT_convolution.CONVOLUTION_FILTER_SCALE_EXT, + CONVOLUTION_FILTER_BIAS_EXT = EXT_convolution.CONVOLUTION_FILTER_BIAS_EXT, + CONVOLUTION_1D_EXT = EXT_convolution.CONVOLUTION_1D_EXT, + CONVOLUTION_2D_EXT = EXT_convolution.CONVOLUTION_2D_EXT, + NONE = 0, + FRONT_LEFT = 0x0400, + FRONT_RIGHT = 0x0401, + BACK_LEFT = 0x0402, + BACK_RIGHT = 0x0403, + LEFT = 0x0406, + RIGHT = 0x0407, + AUX0 = 0x0409, + AUX1 = 0x040A, + AUX2 = 0x040B, + AUX3 = 0x040C, + FOG = GetPName.FOG, + LIGHTING = GetPName.LIGHTING, + TEXTURE_1D = GetPName.TEXTURE_1D, + TEXTURE_2D = GetPName.TEXTURE_2D, + LINE_STIPPLE = GetPName.LINE_STIPPLE, + POLYGON_STIPPLE = GetPName.POLYGON_STIPPLE, + CULL_FACE = GetPName.CULL_FACE, + ALPHA_TEST = GetPName.ALPHA_TEST, + BLEND = GetPName.BLEND, + INDEX_LOGIC_OP = GetPName.INDEX_LOGIC_OP, + COLOR_LOGIC_OP = GetPName.COLOR_LOGIC_OP, + DITHER = GetPName.DITHER, + STENCIL_TEST = GetPName.STENCIL_TEST, + DEPTH_TEST = GetPName.DEPTH_TEST, + CLIP_PLANE0 = GetPName.CLIP_PLANE0, + CLIP_PLANE1 = GetPName.CLIP_PLANE1, + CLIP_PLANE2 = GetPName.CLIP_PLANE2, + CLIP_PLANE3 = GetPName.CLIP_PLANE3, + CLIP_PLANE4 = GetPName.CLIP_PLANE4, + CLIP_PLANE5 = GetPName.CLIP_PLANE5, + LIGHT0 = GetPName.LIGHT0, + LIGHT1 = GetPName.LIGHT1, + LIGHT2 = GetPName.LIGHT2, + LIGHT3 = GetPName.LIGHT3, + LIGHT4 = GetPName.LIGHT4, + LIGHT5 = GetPName.LIGHT5, + LIGHT6 = GetPName.LIGHT6, + LIGHT7 = GetPName.LIGHT7, + TEXTURE_GEN_S = GetPName.TEXTURE_GEN_S, + TEXTURE_GEN_T = GetPName.TEXTURE_GEN_T, + TEXTURE_GEN_R = GetPName.TEXTURE_GEN_R, + TEXTURE_GEN_Q = GetPName.TEXTURE_GEN_Q, + MAP1_VERTEX_3 = GetPName.MAP1_VERTEX_3, + MAP1_VERTEX_4 = GetPName.MAP1_VERTEX_4, + MAP1_COLOR_4 = GetPName.MAP1_COLOR_4, + MAP1_INDEX = GetPName.MAP1_INDEX, + MAP1_NORMAL = GetPName.MAP1_NORMAL, + MAP1_TEXTURE_COORD_1 = GetPName.MAP1_TEXTURE_COORD_1, + MAP1_TEXTURE_COORD_2 = GetPName.MAP1_TEXTURE_COORD_2, + MAP1_TEXTURE_COORD_3 = GetPName.MAP1_TEXTURE_COORD_3, + MAP1_TEXTURE_COORD_4 = GetPName.MAP1_TEXTURE_COORD_4, + MAP2_VERTEX_3 = GetPName.MAP2_VERTEX_3, + MAP2_VERTEX_4 = GetPName.MAP2_VERTEX_4, + MAP2_COLOR_4 = GetPName.MAP2_COLOR_4, + MAP2_INDEX = GetPName.MAP2_INDEX, + MAP2_NORMAL = GetPName.MAP2_NORMAL, + MAP2_TEXTURE_COORD_1 = GetPName.MAP2_TEXTURE_COORD_1, + MAP2_TEXTURE_COORD_2 = GetPName.MAP2_TEXTURE_COORD_2, + MAP2_TEXTURE_COORD_3 = GetPName.MAP2_TEXTURE_COORD_3, + MAP2_TEXTURE_COORD_4 = GetPName.MAP2_TEXTURE_COORD_4, + POINT_SMOOTH = GetPName.POINT_SMOOTH, + LINE_SMOOTH = GetPName.LINE_SMOOTH, + POLYGON_SMOOTH = GetPName.POLYGON_SMOOTH, + SCISSOR_TEST = GetPName.SCISSOR_TEST, + COLOR_MATERIAL = GetPName.COLOR_MATERIAL, + NORMALIZE = GetPName.NORMALIZE, + AUTO_NORMAL = GetPName.AUTO_NORMAL, + POLYGON_OFFSET_POINT = GetPName.POLYGON_OFFSET_POINT, + POLYGON_OFFSET_LINE = GetPName.POLYGON_OFFSET_LINE, + POLYGON_OFFSET_FILL = GetPName.POLYGON_OFFSET_FILL, + VERTEX_ARRAY = GetPName.VERTEX_ARRAY, + NORMAL_ARRAY = GetPName.NORMAL_ARRAY, + COLOR_ARRAY = GetPName.COLOR_ARRAY, + INDEX_ARRAY = GetPName.INDEX_ARRAY, + TEXTURE_COORD_ARRAY = GetPName.TEXTURE_COORD_ARRAY, + EDGE_FLAG_ARRAY = GetPName.EDGE_FLAG_ARRAY, + SEPARABLE_2D_EXT = EXT_convolution.SEPARABLE_2D_EXT, + HISTOGRAM_EXT = EXT_histogram.HISTOGRAM_EXT, + MINMAX_EXT = EXT_histogram.MINMAX_EXT, + RESCALE_NORMAL_EXT = EXT_rescale_normal.RESCALE_NORMAL_EXT, + SHARED_TEXTURE_PALETTE_EXT = EXT_shared_texture_palette.SHARED_TEXTURE_PALETTE_EXT, + TEXTURE_3D_EXT = EXT_texture3D.TEXTURE_3D_EXT, + MULTISAMPLE_SGIS = SGIS_multisample.MULTISAMPLE_SGIS, + SAMPLE_ALPHA_TO_MASK_SGIS = SGIS_multisample.SAMPLE_ALPHA_TO_MASK_SGIS, + SAMPLE_ALPHA_TO_ONE_SGIS = SGIS_multisample.SAMPLE_ALPHA_TO_ONE_SGIS, + SAMPLE_MASK_SGIS = SGIS_multisample.SAMPLE_MASK_SGIS, + TEXTURE_4D_SGIS = SGIS_texture4D.TEXTURE_4D_SGIS, + ASYNC_HISTOGRAM_SGIX = SGIX_async_histogram.ASYNC_HISTOGRAM_SGIX, + ASYNC_TEX_IMAGE_SGIX = SGIX_async_pixel.ASYNC_TEX_IMAGE_SGIX, + ASYNC_DRAW_PIXELS_SGIX = SGIX_async_pixel.ASYNC_DRAW_PIXELS_SGIX, + ASYNC_READ_PIXELS_SGIX = SGIX_async_pixel.ASYNC_READ_PIXELS_SGIX, + CALLIGRAPHIC_FRAGMENT_SGIX = SGIX_calligraphic_fragment.CALLIGRAPHIC_FRAGMENT_SGIX, + FOG_OFFSET_SGIX = SGIX_fog_offset.FOG_OFFSET_SGIX, + FRAGMENT_LIGHTING_SGIX = SGIX_fragment_lighting.FRAGMENT_LIGHTING_SGIX, + FRAGMENT_COLOR_MATERIAL_SGIX = SGIX_fragment_lighting.FRAGMENT_COLOR_MATERIAL_SGIX, + FRAGMENT_LIGHT0_SGIX = SGIX_fragment_lighting.FRAGMENT_LIGHT0_SGIX, + FRAGMENT_LIGHT1_SGIX = SGIX_fragment_lighting.FRAGMENT_LIGHT1_SGIX, + FRAGMENT_LIGHT2_SGIX = SGIX_fragment_lighting.FRAGMENT_LIGHT2_SGIX, + FRAGMENT_LIGHT3_SGIX = SGIX_fragment_lighting.FRAGMENT_LIGHT3_SGIX, + FRAGMENT_LIGHT4_SGIX = SGIX_fragment_lighting.FRAGMENT_LIGHT4_SGIX, + FRAGMENT_LIGHT5_SGIX = SGIX_fragment_lighting.FRAGMENT_LIGHT5_SGIX, + FRAGMENT_LIGHT6_SGIX = SGIX_fragment_lighting.FRAGMENT_LIGHT6_SGIX, + FRAGMENT_LIGHT7_SGIX = SGIX_fragment_lighting.FRAGMENT_LIGHT7_SGIX, + FRAMEZOOM_SGIX = SGIX_framezoom.FRAMEZOOM_SGIX, + INTERLACE_SGIX = SGIX_interlace.INTERLACE_SGIX, + IR_INSTRUMENT1_SGIX = SGIX_ir_instrument1.IR_INSTRUMENT1_SGIX, + PIXEL_TEX_GEN_SGIX = SGIX_pixel_texture.PIXEL_TEX_GEN_SGIX, + PIXEL_TEXTURE_SGIS = SGIS_pixel_texture.PIXEL_TEXTURE_SGIS, + REFERENCE_PLANE_SGIX = SGIX_reference_plane.REFERENCE_PLANE_SGIX, + SPRITE_SGIX = SGIX_sprite.SPRITE_SGIX, + NO_ERROR = 0, + INVALID_ENUM = 0x0500, + INVALID_VALUE = 0x0501, + INVALID_OPERATION = 0x0502, + STACK_OVERFLOW = 0x0503, + STACK_UNDERFLOW = 0x0504, + OUT_OF_MEMORY = 0x0505, + TABLE_TOO_LARGE_EXT = EXT_histogram.TABLE_TOO_LARGE_EXT, + TEXTURE_TOO_LARGE_EXT = EXT_texture.TEXTURE_TOO_LARGE_EXT, + _2D = 0x0600, + _3D = 0x0601, + _3D_COLOR = 0x0602, + _3D_COLOR_TEXTURE = 0x0603, + _4D_COLOR_TEXTURE = 0x0604, + PASS_THROUGH_TOKEN = 0x0700, + POINT_TOKEN = 0x0701, + LINE_TOKEN = 0x0702, + POLYGON_TOKEN = 0x0703, + BITMAP_TOKEN = 0x0704, + DRAW_PIXEL_TOKEN = 0x0705, + COPY_PIXEL_TOKEN = 0x0706, + LINE_RESET_TOKEN = 0x0707, + TEXTURE_DEFORMATION_BIT_SGIX = 0x00000001, + GEOMETRY_DEFORMATION_BIT_SGIX = 0x00000002, + GEOMETRY_DEFORMATION_SGIX = SGIX_polynomial_ffd.GEOMETRY_DEFORMATION_SGIX, + TEXTURE_DEFORMATION_SGIX = SGIX_polynomial_ffd.TEXTURE_DEFORMATION_SGIX, + LINEAR = TextureMagFilter.LINEAR, + EXP = 0x0800, + EXP2 = 0x0801, + FOG_FUNC_SGIS = SGIS_fog_function.FOG_FUNC_SGIS, + FOG_COLOR = GetPName.FOG_COLOR, + FOG_DENSITY = GetPName.FOG_DENSITY, + FOG_END = GetPName.FOG_END, + FOG_INDEX = GetPName.FOG_INDEX, + FOG_MODE = GetPName.FOG_MODE, + FOG_START = GetPName.FOG_START, + FOG_OFFSET_VALUE_SGIX = SGIX_fog_offset.FOG_OFFSET_VALUE_SGIX, + FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX = SGIX_fragment_lighting.FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX, + FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX = SGIX_fragment_lighting.FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX, + FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX = SGIX_fragment_lighting.FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX, + FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX = SGIX_fragment_lighting.FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX, + CW = 0x0900, + CCW = 0x0901, + COLOR_TABLE_FORMAT_SGI = SGI_color_table.COLOR_TABLE_FORMAT_SGI, + COLOR_TABLE_WIDTH_SGI = SGI_color_table.COLOR_TABLE_WIDTH_SGI, + COLOR_TABLE_RED_SIZE_SGI = SGI_color_table.COLOR_TABLE_RED_SIZE_SGI, + COLOR_TABLE_GREEN_SIZE_SGI = SGI_color_table.COLOR_TABLE_GREEN_SIZE_SGI, + COLOR_TABLE_BLUE_SIZE_SGI = SGI_color_table.COLOR_TABLE_BLUE_SIZE_SGI, + COLOR_TABLE_ALPHA_SIZE_SGI = SGI_color_table.COLOR_TABLE_ALPHA_SIZE_SGI, + COLOR_TABLE_LUMINANCE_SIZE_SGI = SGI_color_table.COLOR_TABLE_LUMINANCE_SIZE_SGI, + COLOR_TABLE_INTENSITY_SIZE_SGI = SGI_color_table.COLOR_TABLE_INTENSITY_SIZE_SGI, + CONVOLUTION_FORMAT_EXT = EXT_convolution.CONVOLUTION_FORMAT_EXT, + CONVOLUTION_WIDTH_EXT = EXT_convolution.CONVOLUTION_WIDTH_EXT, + CONVOLUTION_HEIGHT_EXT = EXT_convolution.CONVOLUTION_HEIGHT_EXT, + MAX_CONVOLUTION_WIDTH_EXT = EXT_convolution.MAX_CONVOLUTION_WIDTH_EXT, + MAX_CONVOLUTION_HEIGHT_EXT = EXT_convolution.MAX_CONVOLUTION_HEIGHT_EXT, + HISTOGRAM_WIDTH_EXT = EXT_histogram.HISTOGRAM_WIDTH_EXT, + HISTOGRAM_FORMAT_EXT = EXT_histogram.HISTOGRAM_FORMAT_EXT, + HISTOGRAM_RED_SIZE_EXT = EXT_histogram.HISTOGRAM_RED_SIZE_EXT, + HISTOGRAM_GREEN_SIZE_EXT = EXT_histogram.HISTOGRAM_GREEN_SIZE_EXT, + HISTOGRAM_BLUE_SIZE_EXT = EXT_histogram.HISTOGRAM_BLUE_SIZE_EXT, + HISTOGRAM_ALPHA_SIZE_EXT = EXT_histogram.HISTOGRAM_ALPHA_SIZE_EXT, + HISTOGRAM_LUMINANCE_SIZE_EXT = EXT_histogram.HISTOGRAM_LUMINANCE_SIZE_EXT, + HISTOGRAM_SINK_EXT = EXT_histogram.HISTOGRAM_SINK_EXT, + COEFF = 0x0A00, + ORDER = 0x0A01, + DOMAIN = 0x0A02, + MINMAX_FORMAT_EXT = EXT_histogram.MINMAX_FORMAT_EXT, + MINMAX_SINK_EXT = EXT_histogram.MINMAX_SINK_EXT, + PIXEL_MAP_I_TO_I = 0x0C70, + PIXEL_MAP_S_TO_S = 0x0C71, + PIXEL_MAP_I_TO_R = 0x0C72, + PIXEL_MAP_I_TO_G = 0x0C73, + PIXEL_MAP_I_TO_B = 0x0C74, + PIXEL_MAP_I_TO_A = 0x0C75, + PIXEL_MAP_R_TO_R = 0x0C76, + PIXEL_MAP_G_TO_G = 0x0C77, + PIXEL_MAP_B_TO_B = 0x0C78, + PIXEL_MAP_A_TO_A = 0x0C79, + VERTEX_ARRAY_POINTER = 0x808E, + NORMAL_ARRAY_POINTER = 0x808F, + COLOR_ARRAY_POINTER = 0x8090, + INDEX_ARRAY_POINTER = 0x8091, + TEXTURE_COORD_ARRAY_POINTER = 0x8092, + EDGE_FLAG_ARRAY_POINTER = 0x8093, + FEEDBACK_BUFFER_POINTER = 0x0DF0, + SELECTION_BUFFER_POINTER = 0x0DF3, + INSTRUMENT_BUFFER_POINTER_SGIX = SGIX_instruments.INSTRUMENT_BUFFER_POINTER_SGIX, + CURRENT_COLOR = 0x0B00, + CURRENT_INDEX = 0x0B01, + CURRENT_NORMAL = 0x0B02, + CURRENT_TEXTURE_COORDS = 0x0B03, + CURRENT_RASTER_COLOR = 0x0B04, + CURRENT_RASTER_INDEX = 0x0B05, + CURRENT_RASTER_TEXTURE_COORDS = 0x0B06, + CURRENT_RASTER_POSITION = 0x0B07, + CURRENT_RASTER_POSITION_VALID = 0x0B08, + CURRENT_RASTER_DISTANCE = 0x0B09, + POINT_SIZE = 0x0B11, + POINT_SIZE_RANGE = 0x0B12, + POINT_SIZE_GRANULARITY = 0x0B13, + LINE_WIDTH = 0x0B21, + LINE_WIDTH_RANGE = 0x0B22, + LINE_WIDTH_GRANULARITY = 0x0B23, + LINE_STIPPLE_PATTERN = 0x0B25, + LINE_STIPPLE_REPEAT = 0x0B26, + SMOOTH_POINT_SIZE_RANGE = VERSION_1_2.SMOOTH_POINT_SIZE_RANGE, + SMOOTH_POINT_SIZE_GRANULARITY = VERSION_1_2.SMOOTH_POINT_SIZE_GRANULARITY, + SMOOTH_LINE_WIDTH_RANGE = VERSION_1_2.SMOOTH_LINE_WIDTH_RANGE, + SMOOTH_LINE_WIDTH_GRANULARITY = VERSION_1_2.SMOOTH_LINE_WIDTH_GRANULARITY, + ALIASED_POINT_SIZE_RANGE = VERSION_1_2.ALIASED_POINT_SIZE_RANGE, + ALIASED_LINE_WIDTH_RANGE = VERSION_1_2.ALIASED_LINE_WIDTH_RANGE, + LIST_MODE = 0x0B30, + MAX_LIST_NESTING = 0x0B31, + LIST_BASE = 0x0B32, + LIST_INDEX = 0x0B33, + POLYGON_MODE = 0x0B40, + EDGE_FLAG = 0x0B43, + CULL_FACE_MODE = 0x0B45, + FRONT_FACE = 0x0B46, + LIGHT_MODEL_LOCAL_VIEWER = 0x0B51, + LIGHT_MODEL_TWO_SIDE = 0x0B52, + LIGHT_MODEL_AMBIENT = 0x0B53, + SHADE_MODEL = 0x0B54, + COLOR_MATERIAL_FACE = 0x0B55, + COLOR_MATERIAL_PARAMETER = 0x0B56, + DEPTH_RANGE = 0x0B70, + DEPTH_WRITEMASK = 0x0B72, + DEPTH_CLEAR_VALUE = 0x0B73, + DEPTH_FUNC = 0x0B74, + ACCUM_CLEAR_VALUE = 0x0B80, + STENCIL_CLEAR_VALUE = 0x0B91, + STENCIL_FUNC = 0x0B92, + STENCIL_VALUE_MASK = 0x0B93, + STENCIL_FAIL = 0x0B94, + STENCIL_PASS_DEPTH_FAIL = 0x0B95, + STENCIL_PASS_DEPTH_PASS = 0x0B96, + STENCIL_REF = 0x0B97, + STENCIL_WRITEMASK = 0x0B98, + MATRIX_MODE = 0x0BA0, + VIEWPORT = 0x0BA2, + MODELVIEW_STACK_DEPTH = 0x0BA3, + PROJECTION_STACK_DEPTH = 0x0BA4, + TEXTURE_STACK_DEPTH = 0x0BA5, + MODELVIEW_MATRIX = 0x0BA6, + PROJECTION_MATRIX = 0x0BA7, + TEXTURE_MATRIX = 0x0BA8, + ATTRIB_STACK_DEPTH = 0x0BB0, + CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1, + ALPHA_TEST_FUNC = 0x0BC1, + ALPHA_TEST_REF = 0x0BC2, + BLEND_DST = 0x0BE0, + BLEND_SRC = 0x0BE1, + LOGIC_OP_MODE = 0x0BF0, + AUX_BUFFERS = 0x0C00, + DRAW_BUFFER = 0x0C01, + READ_BUFFER = 0x0C02, + SCISSOR_BOX = 0x0C10, + INDEX_CLEAR_VALUE = 0x0C20, + INDEX_WRITEMASK = 0x0C21, + COLOR_CLEAR_VALUE = 0x0C22, + COLOR_WRITEMASK = 0x0C23, + INDEX_MODE = 0x0C30, + RGBA_MODE = 0x0C31, + DOUBLEBUFFER = 0x0C32, + STEREO = 0x0C33, + RENDER_MODE = 0x0C40, + PERSPECTIVE_CORRECTION_HINT = 0x0C50, + POINT_SMOOTH_HINT = 0x0C51, + LINE_SMOOTH_HINT = 0x0C52, + POLYGON_SMOOTH_HINT = 0x0C53, + FOG_HINT = 0x0C54, + PIXEL_MAP_I_TO_I_SIZE = 0x0CB0, + PIXEL_MAP_S_TO_S_SIZE = 0x0CB1, + PIXEL_MAP_I_TO_R_SIZE = 0x0CB2, + PIXEL_MAP_I_TO_G_SIZE = 0x0CB3, + PIXEL_MAP_I_TO_B_SIZE = 0x0CB4, + PIXEL_MAP_I_TO_A_SIZE = 0x0CB5, + PIXEL_MAP_R_TO_R_SIZE = 0x0CB6, + PIXEL_MAP_G_TO_G_SIZE = 0x0CB7, + PIXEL_MAP_B_TO_B_SIZE = 0x0CB8, + PIXEL_MAP_A_TO_A_SIZE = 0x0CB9, + UNPACK_SWAP_BYTES = 0x0CF0, + UNPACK_LSB_FIRST = 0x0CF1, + UNPACK_ROW_LENGTH = 0x0CF2, + UNPACK_SKIP_ROWS = 0x0CF3, + UNPACK_SKIP_PIXELS = 0x0CF4, + UNPACK_ALIGNMENT = 0x0CF5, + PACK_SWAP_BYTES = 0x0D00, + PACK_LSB_FIRST = 0x0D01, + PACK_ROW_LENGTH = 0x0D02, + PACK_SKIP_ROWS = 0x0D03, + PACK_SKIP_PIXELS = 0x0D04, + PACK_ALIGNMENT = 0x0D05, + MAP_COLOR = 0x0D10, + MAP_STENCIL = 0x0D11, + INDEX_SHIFT = 0x0D12, + INDEX_OFFSET = 0x0D13, + RED_SCALE = 0x0D14, + RED_BIAS = 0x0D15, + ZOOM_X = 0x0D16, + ZOOM_Y = 0x0D17, + GREEN_SCALE = 0x0D18, + GREEN_BIAS = 0x0D19, + BLUE_SCALE = 0x0D1A, + BLUE_BIAS = 0x0D1B, + ALPHA_SCALE = 0x0D1C, + ALPHA_BIAS = 0x0D1D, + DEPTH_SCALE = 0x0D1E, + DEPTH_BIAS = 0x0D1F, + MAX_EVAL_ORDER = 0x0D30, + MAX_LIGHTS = 0x0D31, + MAX_CLIP_PLANES = 0x0D32, + MAX_TEXTURE_SIZE = 0x0D33, + MAX_PIXEL_MAP_TABLE = 0x0D34, + MAX_ATTRIB_STACK_DEPTH = 0x0D35, + MAX_MODELVIEW_STACK_DEPTH = 0x0D36, + MAX_NAME_STACK_DEPTH = 0x0D37, + MAX_PROJECTION_STACK_DEPTH = 0x0D38, + MAX_TEXTURE_STACK_DEPTH = 0x0D39, + MAX_VIEWPORT_DIMS = 0x0D3A, + MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B, + SUBPIXEL_BITS = 0x0D50, + INDEX_BITS = 0x0D51, + RED_BITS = 0x0D52, + GREEN_BITS = 0x0D53, + BLUE_BITS = 0x0D54, + ALPHA_BITS = 0x0D55, + DEPTH_BITS = 0x0D56, + STENCIL_BITS = 0x0D57, + ACCUM_RED_BITS = 0x0D58, + ACCUM_GREEN_BITS = 0x0D59, + ACCUM_BLUE_BITS = 0x0D5A, + ACCUM_ALPHA_BITS = 0x0D5B, + NAME_STACK_DEPTH = 0x0D70, + MAP1_GRID_DOMAIN = 0x0DD0, + MAP1_GRID_SEGMENTS = 0x0DD1, + MAP2_GRID_DOMAIN = 0x0DD2, + MAP2_GRID_SEGMENTS = 0x0DD3, + FEEDBACK_BUFFER_SIZE = 0x0DF1, + FEEDBACK_BUFFER_TYPE = 0x0DF2, + SELECTION_BUFFER_SIZE = 0x0DF4, + POLYGON_OFFSET_UNITS = 0x2A00, + POLYGON_OFFSET_FACTOR = 0x8038, + TEXTURE_BINDING_1D = 0x8068, + TEXTURE_BINDING_2D = 0x8069, + TEXTURE_BINDING_3D = 0x806A, + VERTEX_ARRAY_SIZE = 0x807A, + VERTEX_ARRAY_TYPE = 0x807B, + VERTEX_ARRAY_STRIDE = 0x807C, + NORMAL_ARRAY_TYPE = 0x807E, + NORMAL_ARRAY_STRIDE = 0x807F, + COLOR_ARRAY_SIZE = 0x8081, + COLOR_ARRAY_TYPE = 0x8082, + COLOR_ARRAY_STRIDE = 0x8083, + INDEX_ARRAY_TYPE = 0x8085, + INDEX_ARRAY_STRIDE = 0x8086, + TEXTURE_COORD_ARRAY_SIZE = 0x8088, + TEXTURE_COORD_ARRAY_TYPE = 0x8089, + TEXTURE_COORD_ARRAY_STRIDE = 0x808A, + EDGE_FLAG_ARRAY_STRIDE = 0x808C, + LIGHT_MODEL_COLOR_CONTROL = VERSION_1_2.LIGHT_MODEL_COLOR_CONTROL, + BLEND_COLOR_EXT = EXT_blend_color.BLEND_COLOR_EXT, + BLEND_EQUATION_EXT = EXT_blend_minmax.BLEND_EQUATION_EXT, + PACK_CMYK_HINT_EXT = EXT_cmyka.PACK_CMYK_HINT_EXT, + UNPACK_CMYK_HINT_EXT = EXT_cmyka.UNPACK_CMYK_HINT_EXT, + POST_CONVOLUTION_RED_SCALE_EXT = EXT_convolution.POST_CONVOLUTION_RED_SCALE_EXT, + POST_CONVOLUTION_GREEN_SCALE_EXT = EXT_convolution.POST_CONVOLUTION_GREEN_SCALE_EXT, + POST_CONVOLUTION_BLUE_SCALE_EXT = EXT_convolution.POST_CONVOLUTION_BLUE_SCALE_EXT, + POST_CONVOLUTION_ALPHA_SCALE_EXT = EXT_convolution.POST_CONVOLUTION_ALPHA_SCALE_EXT, + POST_CONVOLUTION_RED_BIAS_EXT = EXT_convolution.POST_CONVOLUTION_RED_BIAS_EXT, + POST_CONVOLUTION_GREEN_BIAS_EXT = EXT_convolution.POST_CONVOLUTION_GREEN_BIAS_EXT, + POST_CONVOLUTION_BLUE_BIAS_EXT = EXT_convolution.POST_CONVOLUTION_BLUE_BIAS_EXT, + POST_CONVOLUTION_ALPHA_BIAS_EXT = EXT_convolution.POST_CONVOLUTION_ALPHA_BIAS_EXT, + POLYGON_OFFSET_BIAS_EXT = EXT_polygon_offset.POLYGON_OFFSET_BIAS_EXT, + TEXTURE_3D_BINDING_EXT = EXT_texture_object.TEXTURE_3D_BINDING_EXT, + PACK_SKIP_IMAGES_EXT = EXT_texture3D.PACK_SKIP_IMAGES_EXT, + PACK_IMAGE_HEIGHT_EXT = EXT_texture3D.PACK_IMAGE_HEIGHT_EXT, + UNPACK_SKIP_IMAGES_EXT = EXT_texture3D.UNPACK_SKIP_IMAGES_EXT, + UNPACK_IMAGE_HEIGHT_EXT = EXT_texture3D.UNPACK_IMAGE_HEIGHT_EXT, + MAX_3D_TEXTURE_SIZE_EXT = EXT_texture3D.MAX_3D_TEXTURE_SIZE_EXT, + VERTEX_ARRAY_COUNT_EXT = EXT_vertex_array.VERTEX_ARRAY_COUNT_EXT, + NORMAL_ARRAY_COUNT_EXT = EXT_vertex_array.NORMAL_ARRAY_COUNT_EXT, + COLOR_ARRAY_COUNT_EXT = EXT_vertex_array.COLOR_ARRAY_COUNT_EXT, + INDEX_ARRAY_COUNT_EXT = EXT_vertex_array.INDEX_ARRAY_COUNT_EXT, + TEXTURE_COORD_ARRAY_COUNT_EXT = EXT_vertex_array.TEXTURE_COORD_ARRAY_COUNT_EXT, + EDGE_FLAG_ARRAY_COUNT_EXT = EXT_vertex_array.EDGE_FLAG_ARRAY_COUNT_EXT, + DETAIL_TEXTURE_2D_BINDING_SGIS = SGIS_detail_texture.DETAIL_TEXTURE_2D_BINDING_SGIS, + FOG_FUNC_POINTS_SGIS = SGIS_fog_function.FOG_FUNC_POINTS_SGIS, + MAX_FOG_FUNC_POINTS_SGIS = SGIS_fog_function.MAX_FOG_FUNC_POINTS_SGIS, + GENERATE_MIPMAP_HINT_SGIS = SGIS_generate_mipmap.GENERATE_MIPMAP_HINT_SGIS, + SAMPLE_BUFFERS_SGIS = SGIS_multisample.SAMPLE_BUFFERS_SGIS, + SAMPLES_SGIS = SGIS_multisample.SAMPLES_SGIS, + SAMPLE_MASK_VALUE_SGIS = SGIS_multisample.SAMPLE_MASK_VALUE_SGIS, + SAMPLE_MASK_INVERT_SGIS = SGIS_multisample.SAMPLE_MASK_INVERT_SGIS, + SAMPLE_PATTERN_SGIS = SGIS_multisample.SAMPLE_PATTERN_SGIS, + POINT_SIZE_MIN_SGIS = SGIS_point_parameters.POINT_SIZE_MIN_SGIS, + POINT_SIZE_MAX_SGIS = SGIS_point_parameters.POINT_SIZE_MAX_SGIS, + POINT_FADE_THRESHOLD_SIZE_SGIS = SGIS_point_parameters.POINT_FADE_THRESHOLD_SIZE_SGIS, + DISTANCE_ATTENUATION_SGIS = SGIS_point_parameters.DISTANCE_ATTENUATION_SGIS, + PACK_SKIP_VOLUMES_SGIS = SGIS_texture4D.PACK_SKIP_VOLUMES_SGIS, + PACK_IMAGE_DEPTH_SGIS = SGIS_texture4D.PACK_IMAGE_DEPTH_SGIS, + UNPACK_SKIP_VOLUMES_SGIS = SGIS_texture4D.UNPACK_SKIP_VOLUMES_SGIS, + UNPACK_IMAGE_DEPTH_SGIS = SGIS_texture4D.UNPACK_IMAGE_DEPTH_SGIS, + MAX_4D_TEXTURE_SIZE_SGIS = SGIS_texture4D.MAX_4D_TEXTURE_SIZE_SGIS, + TEXTURE_4D_BINDING_SGIS = SGIS_texture4D.TEXTURE_4D_BINDING_SGIS, + ASYNC_MARKER_SGIX = SGIX_async.ASYNC_MARKER_SGIX, + MAX_ASYNC_HISTOGRAM_SGIX = SGIX_async_histogram.MAX_ASYNC_HISTOGRAM_SGIX, + MAX_ASYNC_TEX_IMAGE_SGIX = SGIX_async_pixel.MAX_ASYNC_TEX_IMAGE_SGIX, + MAX_ASYNC_DRAW_PIXELS_SGIX = SGIX_async_pixel.MAX_ASYNC_DRAW_PIXELS_SGIX, + MAX_ASYNC_READ_PIXELS_SGIX = SGIX_async_pixel.MAX_ASYNC_READ_PIXELS_SGIX, + MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX = SGIX_clipmap.MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX, + MAX_CLIPMAP_DEPTH_SGIX = SGIX_clipmap.MAX_CLIPMAP_DEPTH_SGIX, + CONVOLUTION_HINT_SGIX = SGIX_convolution_accuracy.CONVOLUTION_HINT_SGIX, + FRAGMENT_COLOR_MATERIAL_FACE_SGIX = SGIX_fragment_lighting.FRAGMENT_COLOR_MATERIAL_FACE_SGIX, + FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX = SGIX_fragment_lighting.FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX, + MAX_FRAGMENT_LIGHTS_SGIX = SGIX_fragment_lighting.MAX_FRAGMENT_LIGHTS_SGIX, + MAX_ACTIVE_LIGHTS_SGIX = SGIX_fragment_lighting.MAX_ACTIVE_LIGHTS_SGIX, + LIGHT_ENV_MODE_SGIX = SGIX_fragment_lighting.LIGHT_ENV_MODE_SGIX, + FRAMEZOOM_FACTOR_SGIX = SGIX_framezoom.FRAMEZOOM_FACTOR_SGIX, + MAX_FRAMEZOOM_FACTOR_SGIX = SGIX_framezoom.MAX_FRAMEZOOM_FACTOR_SGIX, + INSTRUMENT_MEASUREMENTS_SGIX = SGIX_instruments.INSTRUMENT_MEASUREMENTS_SGIX, + PIXEL_TEX_GEN_MODE_SGIX = SGIX_pixel_texture.PIXEL_TEX_GEN_MODE_SGIX, + PIXEL_TILE_BEST_ALIGNMENT_SGIX = SGIX_pixel_tiles.PIXEL_TILE_BEST_ALIGNMENT_SGIX, + PIXEL_TILE_CACHE_INCREMENT_SGIX = SGIX_pixel_tiles.PIXEL_TILE_CACHE_INCREMENT_SGIX, + PIXEL_TILE_WIDTH_SGIX = SGIX_pixel_tiles.PIXEL_TILE_WIDTH_SGIX, + PIXEL_TILE_HEIGHT_SGIX = SGIX_pixel_tiles.PIXEL_TILE_HEIGHT_SGIX, + PIXEL_TILE_GRID_WIDTH_SGIX = SGIX_pixel_tiles.PIXEL_TILE_GRID_WIDTH_SGIX, + PIXEL_TILE_GRID_HEIGHT_SGIX = SGIX_pixel_tiles.PIXEL_TILE_GRID_HEIGHT_SGIX, + PIXEL_TILE_GRID_DEPTH_SGIX = SGIX_pixel_tiles.PIXEL_TILE_GRID_DEPTH_SGIX, + PIXEL_TILE_CACHE_SIZE_SGIX = SGIX_pixel_tiles.PIXEL_TILE_CACHE_SIZE_SGIX, + DEFORMATIONS_MASK_SGIX = SGIX_polynomial_ffd.DEFORMATIONS_MASK_SGIX, + REFERENCE_PLANE_EQUATION_SGIX = SGIX_reference_plane.REFERENCE_PLANE_EQUATION_SGIX, + SPRITE_MODE_SGIX = SGIX_sprite.SPRITE_MODE_SGIX, + SPRITE_AXIS_SGIX = SGIX_sprite.SPRITE_AXIS_SGIX, + SPRITE_TRANSLATION_SGIX = SGIX_sprite.SPRITE_TRANSLATION_SGIX, + PACK_SUBSAMPLE_RATE_SGIX = SGIX_subsample.PACK_SUBSAMPLE_RATE_SGIX, + UNPACK_SUBSAMPLE_RATE_SGIX = SGIX_subsample.UNPACK_SUBSAMPLE_RATE_SGIX, + PACK_RESAMPLE_SGIX = SGIX_resample.PACK_RESAMPLE_SGIX, + UNPACK_RESAMPLE_SGIX = SGIX_resample.UNPACK_RESAMPLE_SGIX, + POST_TEXTURE_FILTER_BIAS_RANGE_SGIX = SGIX_texture_scale_bias.POST_TEXTURE_FILTER_BIAS_RANGE_SGIX, + POST_TEXTURE_FILTER_SCALE_RANGE_SGIX = SGIX_texture_scale_bias.POST_TEXTURE_FILTER_SCALE_RANGE_SGIX, + VERTEX_PRECLIP_SGIX = SGIX_vertex_preclip.VERTEX_PRECLIP_SGIX, + VERTEX_PRECLIP_HINT_SGIX = SGIX_vertex_preclip.VERTEX_PRECLIP_HINT_SGIX, + COLOR_MATRIX_SGI = SGI_color_matrix.COLOR_MATRIX_SGI, + COLOR_MATRIX_STACK_DEPTH_SGI = SGI_color_matrix.COLOR_MATRIX_STACK_DEPTH_SGI, + MAX_COLOR_MATRIX_STACK_DEPTH_SGI = SGI_color_matrix.MAX_COLOR_MATRIX_STACK_DEPTH_SGI, + POST_COLOR_MATRIX_RED_SCALE_SGI = SGI_color_matrix.POST_COLOR_MATRIX_RED_SCALE_SGI, + POST_COLOR_MATRIX_GREEN_SCALE_SGI = SGI_color_matrix.POST_COLOR_MATRIX_GREEN_SCALE_SGI, + POST_COLOR_MATRIX_BLUE_SCALE_SGI = SGI_color_matrix.POST_COLOR_MATRIX_BLUE_SCALE_SGI, + POST_COLOR_MATRIX_ALPHA_SCALE_SGI = SGI_color_matrix.POST_COLOR_MATRIX_ALPHA_SCALE_SGI, + POST_COLOR_MATRIX_RED_BIAS_SGI = SGI_color_matrix.POST_COLOR_MATRIX_RED_BIAS_SGI, + POST_COLOR_MATRIX_GREEN_BIAS_SGI = SGI_color_matrix.POST_COLOR_MATRIX_GREEN_BIAS_SGI, + POST_COLOR_MATRIX_BLUE_BIAS_SGI = SGI_color_matrix.POST_COLOR_MATRIX_BLUE_BIAS_SGI, + POST_COLOR_MATRIX_ALPHA_BIAS_SGI = SGI_color_matrix.POST_COLOR_MATRIX_ALPHA_BIAS_SGI, + TEXTURE_MAG_FILTER = TextureParameterName.TEXTURE_MAG_FILTER, + TEXTURE_MIN_FILTER = TextureParameterName.TEXTURE_MIN_FILTER, + TEXTURE_WRAP_S = TextureParameterName.TEXTURE_WRAP_S, + TEXTURE_WRAP_T = TextureParameterName.TEXTURE_WRAP_T, + TEXTURE_WIDTH = 0x1000, + TEXTURE_HEIGHT = 0x1001, + TEXTURE_INTERNAL_FORMAT = 0x1003, + TEXTURE_COMPONENTS = 0x1003, + TEXTURE_BORDER_COLOR = 0x1004, + TEXTURE_BORDER = 0x1005, + TEXTURE_RED_SIZE = 0x805C, + TEXTURE_GREEN_SIZE = 0x805D, + TEXTURE_BLUE_SIZE = 0x805E, + TEXTURE_ALPHA_SIZE = 0x805F, + TEXTURE_LUMINANCE_SIZE = 0x8060, + TEXTURE_INTENSITY_SIZE = 0x8061, + TEXTURE_PRIORITY = 0x8066, + TEXTURE_RESIDENT = 0x8067, + TEXTURE_DEPTH_EXT = EXT_texture3D.TEXTURE_DEPTH_EXT, + TEXTURE_WRAP_R_EXT = EXT_texture3D.TEXTURE_WRAP_R_EXT, + DETAIL_TEXTURE_LEVEL_SGIS = SGIS_detail_texture.DETAIL_TEXTURE_LEVEL_SGIS, + DETAIL_TEXTURE_MODE_SGIS = SGIS_detail_texture.DETAIL_TEXTURE_MODE_SGIS, + DETAIL_TEXTURE_FUNC_POINTS_SGIS = SGIS_detail_texture.DETAIL_TEXTURE_FUNC_POINTS_SGIS, + GENERATE_MIPMAP_SGIS = SGIS_generate_mipmap.GENERATE_MIPMAP_SGIS, + SHARPEN_TEXTURE_FUNC_POINTS_SGIS = SGIS_sharpen_texture.SHARPEN_TEXTURE_FUNC_POINTS_SGIS, + TEXTURE_FILTER4_SIZE_SGIS = SGIS_texture_filter4.TEXTURE_FILTER4_SIZE_SGIS, + TEXTURE_MIN_LOD_SGIS = SGIS_texture_lod.TEXTURE_MIN_LOD_SGIS, + TEXTURE_MAX_LOD_SGIS = SGIS_texture_lod.TEXTURE_MAX_LOD_SGIS, + TEXTURE_BASE_LEVEL_SGIS = SGIS_texture_lod.TEXTURE_BASE_LEVEL_SGIS, + TEXTURE_MAX_LEVEL_SGIS = SGIS_texture_lod.TEXTURE_MAX_LEVEL_SGIS, + DUAL_TEXTURE_SELECT_SGIS = SGIS_texture_select.DUAL_TEXTURE_SELECT_SGIS, + QUAD_TEXTURE_SELECT_SGIS = SGIS_texture_select.QUAD_TEXTURE_SELECT_SGIS, + TEXTURE_4DSIZE_SGIS = SGIS_texture4D.TEXTURE_4DSIZE_SGIS, + TEXTURE_WRAP_Q_SGIS = SGIS_texture4D.TEXTURE_WRAP_Q_SGIS, + TEXTURE_CLIPMAP_CENTER_SGIX = SGIX_clipmap.TEXTURE_CLIPMAP_CENTER_SGIX, + TEXTURE_CLIPMAP_FRAME_SGIX = SGIX_clipmap.TEXTURE_CLIPMAP_FRAME_SGIX, + TEXTURE_CLIPMAP_OFFSET_SGIX = SGIX_clipmap.TEXTURE_CLIPMAP_OFFSET_SGIX, + TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX = SGIX_clipmap.TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX, + TEXTURE_CLIPMAP_LOD_OFFSET_SGIX = SGIX_clipmap.TEXTURE_CLIPMAP_LOD_OFFSET_SGIX, + TEXTURE_CLIPMAP_DEPTH_SGIX = SGIX_clipmap.TEXTURE_CLIPMAP_DEPTH_SGIX, + TEXTURE_COMPARE_SGIX = SGIX_shadow.TEXTURE_COMPARE_SGIX, + TEXTURE_COMPARE_OPERATOR_SGIX = SGIX_shadow.TEXTURE_COMPARE_OPERATOR_SGIX, + TEXTURE_LEQUAL_R_SGIX = SGIX_shadow.TEXTURE_LEQUAL_R_SGIX, + TEXTURE_GEQUAL_R_SGIX = SGIX_shadow.TEXTURE_GEQUAL_R_SGIX, + SHADOW_AMBIENT_SGIX = SGIX_shadow_ambient.SHADOW_AMBIENT_SGIX, + TEXTURE_MAX_CLAMP_S_SGIX = SGIX_texture_coordinate_clamp.TEXTURE_MAX_CLAMP_S_SGIX, + TEXTURE_MAX_CLAMP_T_SGIX = SGIX_texture_coordinate_clamp.TEXTURE_MAX_CLAMP_T_SGIX, + TEXTURE_MAX_CLAMP_R_SGIX = SGIX_texture_coordinate_clamp.TEXTURE_MAX_CLAMP_R_SGIX, + TEXTURE_LOD_BIAS_S_SGIX = SGIX_texture_lod_bias.TEXTURE_LOD_BIAS_S_SGIX, + TEXTURE_LOD_BIAS_T_SGIX = SGIX_texture_lod_bias.TEXTURE_LOD_BIAS_T_SGIX, + TEXTURE_LOD_BIAS_R_SGIX = SGIX_texture_lod_bias.TEXTURE_LOD_BIAS_R_SGIX, + POST_TEXTURE_FILTER_BIAS_SGIX = SGIX_texture_scale_bias.POST_TEXTURE_FILTER_BIAS_SGIX, + POST_TEXTURE_FILTER_SCALE_SGIX = SGIX_texture_scale_bias.POST_TEXTURE_FILTER_SCALE_SGIX, + DONT_CARE = 0x1100, + FASTEST = 0x1101, + NICEST = 0x1102, + TEXTURE_MULTI_BUFFER_HINT_SGIX = SGIX_texture_multi_buffer.TEXTURE_MULTI_BUFFER_HINT_SGIX, + PROXY_HISTOGRAM_EXT = EXT_histogram.PROXY_HISTOGRAM_EXT, + REPLACE = StencilOp.REPLACE, + MODULATE = TextureEnvMode.MODULATE, + SINGLE_COLOR = VERSION_1_2.SINGLE_COLOR, + SEPARATE_SPECULAR_COLOR = VERSION_1_2.SEPARATE_SPECULAR_COLOR, + POSITION = 0x1203, + SPOT_DIRECTION = 0x1204, + SPOT_EXPONENT = 0x1205, + SPOT_CUTOFF = 0x1206, + CONSTANT_ATTENUATION = 0x1207, + LINEAR_ATTENUATION = 0x1208, + QUADRATIC_ATTENUATION = 0x1209, + COMPILE = 0x1300, + COMPILE_AND_EXECUTE = 0x1301, + _2_BYTES = 0x1407, + _3_BYTES = 0x1408, + _4_BYTES = 0x1409, + DOUBLE_EXT = 0x140A, + LIST_PRIORITY_SGIX = SGIX_list_priority.LIST_PRIORITY_SGIX, + CLEAR = 0x1500, + AND = 0x1501, + AND_REVERSE = 0x1502, + COPY = 0x1503, + AND_INVERTED = 0x1504, + NOOP = 0x1505, + XOR = 0x1506, + OR = 0x1507, + NOR = 0x1508, + EQUIV = 0x1509, + INVERT = 0x150A, + OR_REVERSE = 0x150B, + COPY_INVERTED = 0x150C, + OR_INVERTED = 0x150D, + NAND = 0x150E, + SET = 0x150F, + SHININESS = 0x1601, + COLOR_INDEXES = 0x1603, + MODELVIEW = 0x1700, + PROJECTION = 0x1701, + TEXTURE = 0x1702, + POINT = PolygonMode.POINT, + LINE = PolygonMode.LINE, + FILL = PolygonMode.FILL, + COLOR = 0x1800, + DEPTH = 0x1801, + STENCIL = 0x1802, + COLOR_INDEX = 0x1900, + STENCIL_INDEX = 0x1901, + DEPTH_COMPONENT = 0x1902, + RED = 0x1903, + GREEN = 0x1904, + BLUE = 0x1905, + ALPHA = 0x1906, + RGB = 0x1907, + RGBA = 0x1908, + LUMINANCE = 0x1909, + LUMINANCE_ALPHA = 0x190A, + ABGR_EXT = EXT_abgr.ABGR_EXT, + CMYK_EXT = EXT_cmyka.CMYK_EXT, + CMYKA_EXT = EXT_cmyka.CMYKA_EXT, + R5_G6_B5_ICC_SGIX = SGIX_icc_texture.R5_G6_B5_ICC_SGIX, + R5_G6_B5_A8_ICC_SGIX = SGIX_icc_texture.R5_G6_B5_A8_ICC_SGIX, + ALPHA16_ICC_SGIX = SGIX_icc_texture.ALPHA16_ICC_SGIX, + LUMINANCE16_ICC_SGIX = SGIX_icc_texture.LUMINANCE16_ICC_SGIX, + LUMINANCE16_ALPHA8_ICC_SGIX = SGIX_icc_texture.LUMINANCE16_ALPHA8_ICC_SGIX, + YCRCB_422_SGIX = SGIX_ycrcb.YCRCB_422_SGIX, + YCRCB_444_SGIX = SGIX_ycrcb.YCRCB_444_SGIX, + RESAMPLE_REPLICATE_SGIX = SGIX_resample.RESAMPLE_REPLICATE_SGIX, + RESAMPLE_ZERO_FILL_SGIX = SGIX_resample.RESAMPLE_ZERO_FILL_SGIX, + RESAMPLE_DECIMATE_SGIX = SGIX_resample.RESAMPLE_DECIMATE_SGIX, + PIXEL_SUBSAMPLE_4444_SGIX = SGIX_subsample.PIXEL_SUBSAMPLE_4444_SGIX, + PIXEL_SUBSAMPLE_2424_SGIX = SGIX_subsample.PIXEL_SUBSAMPLE_2424_SGIX, + PIXEL_SUBSAMPLE_4242_SGIX = SGIX_subsample.PIXEL_SUBSAMPLE_4242_SGIX, + PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX = SGIX_impact_pixel_texture.PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX, + PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX = SGIX_impact_pixel_texture.PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX, + PIXEL_TEX_GEN_ALPHA_MS_SGIX = SGIX_impact_pixel_texture.PIXEL_TEX_GEN_ALPHA_MS_SGIX, + PIXEL_TEX_GEN_ALPHA_LS_SGIX = SGIX_impact_pixel_texture.PIXEL_TEX_GEN_ALPHA_LS_SGIX, + PIXEL_FRAGMENT_RGB_SOURCE_SGIS = SGIS_pixel_texture.PIXEL_FRAGMENT_RGB_SOURCE_SGIS, + PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS = SGIS_pixel_texture.PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS, + BITMAP = 0x1A00, + UNSIGNED_BYTE_3_3_2_EXT = EXT_packed_pixels.UNSIGNED_BYTE_3_3_2_EXT, + UNSIGNED_SHORT_4_4_4_4_EXT = EXT_packed_pixels.UNSIGNED_SHORT_4_4_4_4_EXT, + UNSIGNED_SHORT_5_5_5_1_EXT = EXT_packed_pixels.UNSIGNED_SHORT_5_5_5_1_EXT, + UNSIGNED_INT_8_8_8_8_EXT = EXT_packed_pixels.UNSIGNED_INT_8_8_8_8_EXT, + UNSIGNED_INT_10_10_10_2_EXT = EXT_packed_pixels.UNSIGNED_INT_10_10_10_2_EXT, + RENDER = 0x1C00, + FEEDBACK = 0x1C01, + SELECT = 0x1C02, + _1PASS_SGIS = SGIS_multisample._1PASS_SGIS, + _2PASS_0_SGIS = SGIS_multisample._2PASS_0_SGIS, + _2PASS_1_SGIS = SGIS_multisample._2PASS_1_SGIS, + _4PASS_0_SGIS = SGIS_multisample._4PASS_0_SGIS, + _4PASS_1_SGIS = SGIS_multisample._4PASS_1_SGIS, + _4PASS_2_SGIS = SGIS_multisample._4PASS_2_SGIS, + _4PASS_3_SGIS = SGIS_multisample._4PASS_3_SGIS, + FLAT = 0x1D00, + SMOOTH = 0x1D01, + KEEP = 0x1E00, + INCR = 0x1E02, + DECR = 0x1E03, + VENDOR = 0x1F00, + RENDERER = 0x1F01, + VERSION = 0x1F02, + EXTENSIONS = 0x1F03, + S = 0x2000, + T = 0x2001, + R = 0x2002, + Q = 0x2003, + DECAL = 0x2101, + REPLACE_EXT = EXT_texture.REPLACE_EXT, + TEXTURE_ENV_BIAS_SGIX = SGIX_texture_add_env.TEXTURE_ENV_BIAS_SGIX, + TEXTURE_ENV_MODE = 0x2200, + TEXTURE_ENV_COLOR = 0x2201, + TEXTURE_ENV = 0x2300, + FILTER4_SGIS = SGIS_texture_filter4.FILTER4_SGIS, + EYE_LINEAR = 0x2400, + OBJECT_LINEAR = 0x2401, + SPHERE_MAP = 0x2402, + EYE_DISTANCE_TO_POINT_SGIS = SGIS_point_line_texgen.EYE_DISTANCE_TO_POINT_SGIS, + OBJECT_DISTANCE_TO_POINT_SGIS = SGIS_point_line_texgen.OBJECT_DISTANCE_TO_POINT_SGIS, + EYE_DISTANCE_TO_LINE_SGIS = SGIS_point_line_texgen.EYE_DISTANCE_TO_LINE_SGIS, + OBJECT_DISTANCE_TO_LINE_SGIS = SGIS_point_line_texgen.OBJECT_DISTANCE_TO_LINE_SGIS, + TEXTURE_GEN_MODE = 0x2500, + OBJECT_PLANE = 0x2501, + EYE_PLANE = 0x2502, + EYE_POINT_SGIS = SGIS_point_line_texgen.EYE_POINT_SGIS, + OBJECT_POINT_SGIS = SGIS_point_line_texgen.OBJECT_POINT_SGIS, + EYE_LINE_SGIS = SGIS_point_line_texgen.EYE_LINE_SGIS, + OBJECT_LINE_SGIS = SGIS_point_line_texgen.OBJECT_LINE_SGIS, + NEAREST = 0x2600, + LINEAR_DETAIL_SGIS = SGIS_detail_texture.LINEAR_DETAIL_SGIS, + LINEAR_DETAIL_ALPHA_SGIS = SGIS_detail_texture.LINEAR_DETAIL_ALPHA_SGIS, + LINEAR_DETAIL_COLOR_SGIS = SGIS_detail_texture.LINEAR_DETAIL_COLOR_SGIS, + LINEAR_SHARPEN_SGIS = SGIS_sharpen_texture.LINEAR_SHARPEN_SGIS, + LINEAR_SHARPEN_ALPHA_SGIS = SGIS_sharpen_texture.LINEAR_SHARPEN_ALPHA_SGIS, + LINEAR_SHARPEN_COLOR_SGIS = SGIS_sharpen_texture.LINEAR_SHARPEN_COLOR_SGIS, + PIXEL_TEX_GEN_Q_CEILING_SGIX = SGIX_impact_pixel_texture.PIXEL_TEX_GEN_Q_CEILING_SGIX, + PIXEL_TEX_GEN_Q_ROUND_SGIX = SGIX_impact_pixel_texture.PIXEL_TEX_GEN_Q_ROUND_SGIX, + PIXEL_TEX_GEN_Q_FLOOR_SGIX = SGIX_impact_pixel_texture.PIXEL_TEX_GEN_Q_FLOOR_SGIX, + NEAREST_MIPMAP_NEAREST = 0x2700, + LINEAR_MIPMAP_NEAREST = 0x2701, + NEAREST_MIPMAP_LINEAR = 0x2702, + LINEAR_MIPMAP_LINEAR = 0x2703, + LINEAR_CLIPMAP_LINEAR_SGIX = SGIX_clipmap.LINEAR_CLIPMAP_LINEAR_SGIX, + NEAREST_CLIPMAP_NEAREST_SGIX = SGIX_clipmap.NEAREST_CLIPMAP_NEAREST_SGIX, + NEAREST_CLIPMAP_LINEAR_SGIX = SGIX_clipmap.NEAREST_CLIPMAP_LINEAR_SGIX, + LINEAR_CLIPMAP_NEAREST_SGIX = SGIX_clipmap.LINEAR_CLIPMAP_NEAREST_SGIX, + PROXY_TEXTURE_1D = 0x8063, + PROXY_TEXTURE_2D = 0x8064, + PROXY_TEXTURE_3D_EXT = EXT_texture3D.PROXY_TEXTURE_3D_EXT, + DETAIL_TEXTURE_2D_SGIS = SGIS_detail_texture.DETAIL_TEXTURE_2D_SGIS, + PROXY_TEXTURE_4D_SGIS = SGIS_texture4D.PROXY_TEXTURE_4D_SGIS, + CLAMP = 0x2900, + REPEAT = 0x2901, + CLAMP_TO_BORDER_SGIS = SGIS_texture_border_clamp.CLAMP_TO_BORDER_SGIS, + CLAMP_TO_EDGE_SGIS = SGIS_texture_edge_clamp.CLAMP_TO_EDGE_SGIS, + R3_G3_B2 = 0x2A10, + ALPHA4 = 0x803B, + ALPHA8 = 0x803C, + ALPHA12 = 0x803D, + ALPHA16 = 0x803E, + LUMINANCE4 = 0x803F, + LUMINANCE8 = 0x8040, + LUMINANCE12 = 0x8041, + LUMINANCE16 = 0x8042, + LUMINANCE4_ALPHA4 = 0x8043, + LUMINANCE6_ALPHA2 = 0x8044, + LUMINANCE8_ALPHA8 = 0x8045, + LUMINANCE12_ALPHA4 = 0x8046, + LUMINANCE12_ALPHA12 = 0x8047, + LUMINANCE16_ALPHA16 = 0x8048, + INTENSITY = 0x8049, + INTENSITY4 = 0x804A, + INTENSITY8 = 0x804B, + INTENSITY12 = 0x804C, + INTENSITY16 = 0x804D, + RGB4 = 0x804F, + RGB5 = 0x8050, + RGB8 = 0x8051, + RGB10 = 0x8052, + RGB12 = 0x8053, + RGB16 = 0x8054, + RGBA2 = 0x8055, + RGBA4 = 0x8056, + RGB5_A1 = 0x8057, + RGBA8 = 0x8058, + RGB10_A2 = 0x8059, + RGBA12 = 0x805A, + RGBA16 = 0x805B, + RGB2_EXT = EXT_texture.RGB2_EXT, + DUAL_ALPHA4_SGIS = SGIS_texture_select.DUAL_ALPHA4_SGIS, + DUAL_ALPHA8_SGIS = SGIS_texture_select.DUAL_ALPHA8_SGIS, + DUAL_ALPHA12_SGIS = SGIS_texture_select.DUAL_ALPHA12_SGIS, + DUAL_ALPHA16_SGIS = SGIS_texture_select.DUAL_ALPHA16_SGIS, + DUAL_LUMINANCE4_SGIS = SGIS_texture_select.DUAL_LUMINANCE4_SGIS, + DUAL_LUMINANCE8_SGIS = SGIS_texture_select.DUAL_LUMINANCE8_SGIS, + DUAL_LUMINANCE12_SGIS = SGIS_texture_select.DUAL_LUMINANCE12_SGIS, + DUAL_LUMINANCE16_SGIS = SGIS_texture_select.DUAL_LUMINANCE16_SGIS, + DUAL_INTENSITY4_SGIS = SGIS_texture_select.DUAL_INTENSITY4_SGIS, + DUAL_INTENSITY8_SGIS = SGIS_texture_select.DUAL_INTENSITY8_SGIS, + DUAL_INTENSITY12_SGIS = SGIS_texture_select.DUAL_INTENSITY12_SGIS, + DUAL_INTENSITY16_SGIS = SGIS_texture_select.DUAL_INTENSITY16_SGIS, + DUAL_LUMINANCE_ALPHA4_SGIS = SGIS_texture_select.DUAL_LUMINANCE_ALPHA4_SGIS, + DUAL_LUMINANCE_ALPHA8_SGIS = SGIS_texture_select.DUAL_LUMINANCE_ALPHA8_SGIS, + QUAD_ALPHA4_SGIS = SGIS_texture_select.QUAD_ALPHA4_SGIS, + QUAD_ALPHA8_SGIS = SGIS_texture_select.QUAD_ALPHA8_SGIS, + QUAD_LUMINANCE4_SGIS = SGIS_texture_select.QUAD_LUMINANCE4_SGIS, + QUAD_LUMINANCE8_SGIS = SGIS_texture_select.QUAD_LUMINANCE8_SGIS, + QUAD_INTENSITY4_SGIS = SGIS_texture_select.QUAD_INTENSITY4_SGIS, + QUAD_INTENSITY8_SGIS = SGIS_texture_select.QUAD_INTENSITY8_SGIS, + DEPTH_COMPONENT16_SGIX = SGIX_depth_texture.DEPTH_COMPONENT16_SGIX, + DEPTH_COMPONENT24_SGIX = SGIX_depth_texture.DEPTH_COMPONENT24_SGIX, + DEPTH_COMPONENT32_SGIX = SGIX_depth_texture.DEPTH_COMPONENT32_SGIX, + RGB_ICC_SGIX = SGIX_icc_texture.RGB_ICC_SGIX, + RGBA_ICC_SGIX = SGIX_icc_texture.RGBA_ICC_SGIX, + ALPHA_ICC_SGIX = SGIX_icc_texture.ALPHA_ICC_SGIX, + LUMINANCE_ICC_SGIX = SGIX_icc_texture.LUMINANCE_ICC_SGIX, + INTENSITY_ICC_SGIX = SGIX_icc_texture.INTENSITY_ICC_SGIX, + LUMINANCE_ALPHA_ICC_SGIX = SGIX_icc_texture.LUMINANCE_ALPHA_ICC_SGIX, + INTENSITY16_ICC_SGIX = SGIX_icc_texture.INTENSITY16_ICC_SGIX, + V2F = 0x2A20, + V3F = 0x2A21, + C4UB_V2F = 0x2A22, + C4UB_V3F = 0x2A23, + C3F_V3F = 0x2A24, + N3F_V3F = 0x2A25, + C4F_N3F_V3F = 0x2A26, + T2F_V3F = 0x2A27, + T4F_V4F = 0x2A28, + T2F_C4UB_V3F = 0x2A29, + T2F_C3F_V3F = 0x2A2A, + T2F_N3F_V3F = 0x2A2B, + T2F_C4F_N3F_V3F = 0x2A2C, + T4F_C4F_N3F_V4F = 0x2A2D, + CONSTANT_COLOR = 0x8001, + ONE_MINUS_CONSTANT_COLOR = 0x8002, + CONSTANT_ALPHA = 0x8003, + ONE_MINUS_CONSTANT_ALPHA = 0x8004, + BLEND_COLOR = 0x8005, + FUNC_ADD = 0x8006, + MIN = 0x8007, + MAX = 0x8008, + BLEND_EQUATION = 0x8009, + FUNC_SUBTRACT = 0x800A, + FUNC_REVERSE_SUBTRACT = 0x800B, + CONVOLUTION_1D = 0x8010, + CONVOLUTION_2D = 0x8011, + SEPARABLE_2D = 0x8012, + CONVOLUTION_BORDER_MODE = 0x8013, + CONVOLUTION_FILTER_SCALE = 0x8014, + CONVOLUTION_FILTER_BIAS = 0x8015, + REDUCE = 0x8016, + CONVOLUTION_FORMAT = 0x8017, + CONVOLUTION_WIDTH = 0x8018, + CONVOLUTION_HEIGHT = 0x8019, + MAX_CONVOLUTION_WIDTH = 0x801A, + MAX_CONVOLUTION_HEIGHT = 0x801B, + POST_CONVOLUTION_RED_SCALE = 0x801C, + POST_CONVOLUTION_GREEN_SCALE = 0x801D, + POST_CONVOLUTION_BLUE_SCALE = 0x801E, + POST_CONVOLUTION_ALPHA_SCALE = 0x801F, + POST_CONVOLUTION_RED_BIAS = 0x8020, + POST_CONVOLUTION_GREEN_BIAS = 0x8021, + POST_CONVOLUTION_BLUE_BIAS = 0x8022, + POST_CONVOLUTION_ALPHA_BIAS = 0x8023, + HISTOGRAM = 0x8024, + PROXY_HISTOGRAM = 0x8025, + HISTOGRAM_WIDTH = 0x8026, + HISTOGRAM_FORMAT = 0x8027, + HISTOGRAM_RED_SIZE = 0x8028, + HISTOGRAM_GREEN_SIZE = 0x8029, + HISTOGRAM_BLUE_SIZE = 0x802A, + HISTOGRAM_ALPHA_SIZE = 0x802B, + HISTOGRAM_LUMINANCE_SIZE = 0x802C, + HISTOGRAM_SINK = 0x802D, + MINMAX = 0x802E, + MINMAX_FORMAT = 0x802F, + MINMAX_SINK = 0x8030, + TABLE_TOO_LARGE = 0x8031, + UNSIGNED_BYTE_3_3_2 = 0x8032, + UNSIGNED_SHORT_4_4_4_4 = 0x8033, + UNSIGNED_SHORT_5_5_5_1 = 0x8034, + UNSIGNED_INT_8_8_8_8 = 0x8035, + UNSIGNED_INT_10_10_10_2 = 0x8036, + UNSIGNED_BYTE_2_3_3_REV = 0x8362, + UNSIGNED_BYTE_2_3_3_REV_EXT = 0x8362, + UNSIGNED_SHORT_5_6_5 = 0x8363, + UNSIGNED_SHORT_5_6_5_EXT = 0x8363, + UNSIGNED_SHORT_5_6_5_REV = 0x8364, + UNSIGNED_SHORT_5_6_5_REV_EXT = 0x8364, + UNSIGNED_SHORT_4_4_4_4_REV = 0x8365, + UNSIGNED_SHORT_4_4_4_4_REV_EXT = 0x8365, + UNSIGNED_SHORT_1_5_5_5_REV = 0x8366, + UNSIGNED_SHORT_1_5_5_5_REV_EXT = 0x8366, + UNSIGNED_INT_8_8_8_8_REV = 0x8367, + UNSIGNED_INT_8_8_8_8_REV_EXT = 0x8367, + UNSIGNED_INT_2_10_10_10_REV = 0x8368, + UNSIGNED_INT_2_10_10_10_REV_EXT = 0x8368, + POLYGON_OFFSET_EXT = 0x8037, + POLYGON_OFFSET_FACTOR_EXT = 0x8038, + RESCALE_NORMAL = 0x803A, + ALPHA4_EXT = 0x803B, + ALPHA8_EXT = 0x803C, + ALPHA12_EXT = 0x803D, + ALPHA16_EXT = 0x803E, + LUMINANCE4_EXT = 0x803F, + LUMINANCE8_EXT = 0x8040, + LUMINANCE12_EXT = 0x8041, + LUMINANCE16_EXT = 0x8042, + LUMINANCE4_ALPHA4_EXT = 0x8043, + LUMINANCE6_ALPHA2_EXT = 0x8044, + LUMINANCE8_ALPHA8_EXT = 0x8045, + LUMINANCE12_ALPHA4_EXT = 0x8046, + LUMINANCE12_ALPHA12_EXT = 0x8047, + LUMINANCE16_ALPHA16_EXT = 0x8048, + INTENSITY_EXT = 0x8049, + INTENSITY4_EXT = 0x804A, + INTENSITY8_EXT = 0x804B, + INTENSITY12_EXT = 0x804C, + INTENSITY16_EXT = 0x804D, + RGB4_EXT = 0x804F, + RGB5_EXT = 0x8050, + RGB8_EXT = 0x8051, + RGB10_EXT = 0x8052, + RGB12_EXT = 0x8053, + RGB16_EXT = 0x8054, + RGBA2_EXT = 0x8055, + RGBA4_EXT = 0x8056, + RGB5_A1_EXT = 0x8057, + RGBA8_EXT = 0x8058, + RGB10_A2_EXT = 0x8059, + RGBA12_EXT = 0x805A, + RGBA16_EXT = 0x805B, + TEXTURE_RED_SIZE_EXT = 0x805C, + TEXTURE_GREEN_SIZE_EXT = 0x805D, + TEXTURE_BLUE_SIZE_EXT = 0x805E, + TEXTURE_ALPHA_SIZE_EXT = 0x805F, + TEXTURE_LUMINANCE_SIZE_EXT = 0x8060, + TEXTURE_INTENSITY_SIZE_EXT = 0x8061, + PROXY_TEXTURE_1D_EXT = 0x8063, + PROXY_TEXTURE_2D_EXT = 0x8064, + TEXTURE_PRIORITY_EXT = 0x8066, + TEXTURE_RESIDENT_EXT = 0x8067, + TEXTURE_1D_BINDING_EXT = 0x8068, + TEXTURE_2D_BINDING_EXT = 0x8069, + PACK_SKIP_IMAGES = 0x806B, + PACK_IMAGE_HEIGHT = 0x806C, + UNPACK_SKIP_IMAGES = 0x806D, + UNPACK_IMAGE_HEIGHT = 0x806E, + TEXTURE_3D = 0x806F, + PROXY_TEXTURE_3D = 0x8070, + TEXTURE_DEPTH = 0x8071, + TEXTURE_WRAP_R = 0x8072, + MAX_3D_TEXTURE_SIZE = 0x8073, + VERTEX_ARRAY_EXT = 0x8074, + NORMAL_ARRAY_EXT = 0x8075, + COLOR_ARRAY_EXT = 0x8076, + INDEX_ARRAY_EXT = 0x8077, + TEXTURE_COORD_ARRAY_EXT = 0x8078, + EDGE_FLAG_ARRAY_EXT = 0x8079, + VERTEX_ARRAY_SIZE_EXT = 0x807A, + VERTEX_ARRAY_TYPE_EXT = 0x807B, + VERTEX_ARRAY_STRIDE_EXT = 0x807C, + NORMAL_ARRAY_TYPE_EXT = 0x807E, + NORMAL_ARRAY_STRIDE_EXT = 0x807F, + COLOR_ARRAY_SIZE_EXT = 0x8081, + COLOR_ARRAY_TYPE_EXT = 0x8082, + COLOR_ARRAY_STRIDE_EXT = 0x8083, + INDEX_ARRAY_TYPE_EXT = 0x8085, + INDEX_ARRAY_STRIDE_EXT = 0x8086, + TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088, + TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089, + TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A, + EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C, + VERTEX_ARRAY_POINTER_EXT = 0x808E, + NORMAL_ARRAY_POINTER_EXT = 0x808F, + COLOR_ARRAY_POINTER_EXT = 0x8090, + INDEX_ARRAY_POINTER_EXT = 0x8091, + TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092, + EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093, + MULTISAMPLE = 0x809D, + MULTISAMPLE_ARB = 0x809D, + SAMPLE_ALPHA_TO_COVERAGE = 0x809E, + SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E, + SAMPLE_ALPHA_TO_ONE = 0x809F, + SAMPLE_ALPHA_TO_ONE_ARB = 0x809F, + SAMPLE_COVERAGE = 0x80A0, + SAMPLE_COVERAGE_ARB = 0x80A0, + SAMPLE_BUFFERS = 0x80A8, + SAMPLE_BUFFERS_ARB = 0x80A8, + SAMPLES = 0x80A9, + SAMPLES_ARB = 0x80A9, + SAMPLE_COVERAGE_VALUE = 0x80AA, + SAMPLE_COVERAGE_VALUE_ARB = 0x80AA, + SAMPLE_COVERAGE_INVERT = 0x80AB, + SAMPLE_COVERAGE_INVERT_ARB = 0x80AB, + COLOR_MATRIX = 0x80B1, + COLOR_MATRIX_STACK_DEPTH = 0x80B2, + MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3, + POST_COLOR_MATRIX_RED_SCALE = 0x80B4, + POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5, + POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6, + POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7, + POST_COLOR_MATRIX_RED_BIAS = 0x80B8, + POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9, + POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA, + POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB, + COLOR_TABLE = 0x80D0, + POST_CONVOLUTION_COLOR_TABLE = 0x80D1, + POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2, + PROXY_COLOR_TABLE = 0x80D3, + PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4, + PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5, + COLOR_TABLE_SCALE = 0x80D6, + COLOR_TABLE_BIAS = 0x80D7, + COLOR_TABLE_FORMAT = 0x80D8, + COLOR_TABLE_WIDTH = 0x80D9, + COLOR_TABLE_RED_SIZE = 0x80DA, + COLOR_TABLE_GREEN_SIZE = 0x80DB, + COLOR_TABLE_BLUE_SIZE = 0x80DC, + COLOR_TABLE_ALPHA_SIZE = 0x80DD, + COLOR_TABLE_LUMINANCE_SIZE = 0x80DE, + COLOR_TABLE_INTENSITY_SIZE = 0x80DF, + BGR = 0x80E0, + BGR_EXT = 0x80E0, + BGRA = 0x80E1, + BGRA_EXT = 0x80E1, + MAX_ELEMENTS_VERTICES = 0x80E8, + MAX_ELEMENTS_INDICES = 0x80E9, + POINT_SIZE_MIN = 0x8126, + POINT_SIZE_MIN_ARB = 0x8126, + POINT_SIZE_MIN_EXT = 0x8126, + POINT_SIZE_MAX = 0x8127, + POINT_SIZE_MAX_ARB = 0x8127, + POINT_SIZE_MAX_EXT = 0x8127, + POINT_FADE_THRESHOLD_SIZE = 0x8128, + POINT_FADE_THRESHOLD_SIZE_ARB = 0x8128, + POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128, + POINT_DISTANCE_ATTENUATION = 0x8129, + POINT_DISTANCE_ATTENUATION_ARB = 0x8129, + DISTANCE_ATTENUATION_EXT = 0x8129, + CLAMP_TO_BORDER = 0x812D, + CLAMP_TO_BORDER_ARB = 0x812D, + CLAMP_TO_EDGE = 0x812F, + TEXTURE_MIN_LOD = 0x813A, + TEXTURE_MAX_LOD = 0x813B, + TEXTURE_BASE_LEVEL = 0x813C, + TEXTURE_MAX_LEVEL = 0x813D, + SPRITE_AXIAL_SGIX = 0x814C, + SPRITE_OBJECT_ALIGNED_SGIX = 0x814D, + SPRITE_EYE_ALIGNED_SGIX = 0x814E, + IGNORE_BORDER_HP = 0x8150, + CONSTANT_BORDER = 0x8151, + CONSTANT_BORDER_HP = 0x8151, + REPLICATE_BORDER = 0x8153, + REPLICATE_BORDER_HP = 0x8153, + CONVOLUTION_BORDER_COLOR = 0x8154, + CONVOLUTION_BORDER_COLOR_HP = 0x8154, + GENERATE_MIPMAP = 0x8191, + GENERATE_MIPMAP_HINT = 0x8192, + MAX_DEFORMATION_ORDER_SGIX = 0x8197, + DEPTH_COMPONENT16 = 0x81A5, + DEPTH_COMPONENT24 = 0x81A6, + DEPTH_COMPONENT32 = 0x81A7, + TEXTURE_COLOR_WRITEMASK_SGIS = 0x81EF, + LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8, + SINGLE_COLOR_EXT = 0x81F9, + SEPARATE_SPECULAR_COLOR_EXT = 0x81FA, + PIXEL_TRANSFORM_2D_EXT = 0x8330, + PIXEL_MAG_FILTER_EXT = 0x8331, + PIXEL_MIN_FILTER_EXT = 0x8332, + PIXEL_CUBIC_WEIGHT_EXT = 0x8333, + CUBIC_EXT = 0x8334, + AVERAGE_EXT = 0x8335, + PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = 0x8336, + MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = 0x8337, + PIXEL_TRANSFORM_2D_MATRIX_EXT = 0x8338, + PIXEL_GROUP_COLOR_SGIS = 0x8356, + FOG_FACTOR_TO_ALPHA_SGIX = 0x836F, + COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0, + COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1, + COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2, + COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3, + PARALLEL_ARRAYS_INTEL = 0x83F4, + VERTEX_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F5, + NORMAL_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F6, + COLOR_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F7, + TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL = 0x83F8, + CURRENT_RASTER_NORMAL_SGIX = 0x8406, + TEXTURE0 = 0x84C0, + TEXTURE1 = 0x84C1, + TEXTURE2 = 0x84C2, + TEXTURE3 = 0x84C3, + TEXTURE4 = 0x84C4, + TEXTURE5 = 0x84C5, + TEXTURE6 = 0x84C6, + TEXTURE7 = 0x84C7, + TEXTURE8 = 0x84C8, + TEXTURE9 = 0x84C9, + TEXTURE10 = 0x84CA, + TEXTURE11 = 0x84CB, + TEXTURE12 = 0x84CC, + TEXTURE13 = 0x84CD, + TEXTURE14 = 0x84CE, + TEXTURE15 = 0x84CF, + TEXTURE16 = 0x84D0, + TEXTURE17 = 0x84D1, + TEXTURE18 = 0x84D2, + TEXTURE19 = 0x84D3, + TEXTURE20 = 0x84D4, + TEXTURE21 = 0x84D5, + TEXTURE22 = 0x84D6, + TEXTURE23 = 0x84D7, + TEXTURE24 = 0x84D8, + TEXTURE25 = 0x84D9, + TEXTURE26 = 0x84DA, + TEXTURE27 = 0x84DB, + TEXTURE28 = 0x84DC, + TEXTURE29 = 0x84DD, + TEXTURE30 = 0x84DE, + TEXTURE31 = 0x84DF, + ACTIVE_TEXTURE = 0x84E0, + CLIENT_ACTIVE_TEXTURE = 0x84E1, + MAX_TEXTURE_UNITS = 0x84E2, + TRANSPOSE_MODELVIEW_MATRIX = 0x84E3, + TRANSPOSE_PROJECTION_MATRIX = 0x84E4, + TRANSPOSE_TEXTURE_MATRIX = 0x84E5, + TRANSPOSE_COLOR_MATRIX = 0x84E6, + MULTISAMPLE_BIT = 0x20000000, + NORMAL_MAP = 0x8511, + REFLECTION_MAP = 0x8512, + TEXTURE_CUBE_MAP = 0x8513, + TEXTURE_BINDING_CUBE_MAP = 0x8514, + TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515, + TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516, + TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517, + TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518, + TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519, + TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A, + PROXY_TEXTURE_CUBE_MAP = 0x851B, + MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C, + COMPRESSED_ALPHA = 0x84E9, + COMPRESSED_LUMINANCE = 0x84EA, + COMPRESSED_LUMINANCE_ALPHA = 0x84EB, + COMPRESSED_INTENSITY = 0x84EC, + COMPRESSED_RGB = 0x84ED, + COMPRESSED_RGBA = 0x84EE, + TEXTURE_COMPRESSION_HINT = 0x84EF, + TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0, + TEXTURE_COMPRESSED = 0x86A1, + NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2, + COMPRESSED_TEXTURE_FORMATS = 0x86A3, + COMBINE = 0x8570, + COMBINE_RGB = 0x8571, + COMBINE_ALPHA = 0x8572, + SOURCE0_RGB = 0x8580, + SOURCE1_RGB = 0x8581, + SOURCE2_RGB = 0x8582, + SOURCE0_ALPHA = 0x8588, + SOURCE1_ALPHA = 0x8589, + SOURCE2_ALPHA = 0x858A, + OPERAND0_RGB = 0x8590, + OPERAND1_RGB = 0x8591, + OPERAND2_RGB = 0x8592, + OPERAND0_ALPHA = 0x8598, + OPERAND1_ALPHA = 0x8599, + OPERAND2_ALPHA = 0x859A, + RGB_SCALE = 0x8573, + ADD_SIGNED = 0x8574, + INTERPOLATE = 0x8575, + SUBTRACT = 0x84E7, + CONSTANT = 0x8576, + PRIMARY_COLOR = 0x8577, + PREVIOUS = 0x8578, + DOT3_RGB = 0x86AE, + DOT3_RGBA = 0x86AF, + BLEND_DST_RGB = 0x80C8, + BLEND_SRC_RGB = 0x80C9, + BLEND_DST_ALPHA = 0x80CA, + BLEND_SRC_ALPHA = 0x80CB, + MIRRORED_REPEAT = 0x8370, + FOG_COORDINATE_SOURCE = 0x8450, + FOG_COORDINATE = 0x8451, + FRAGMENT_DEPTH = 0x8452, + CURRENT_FOG_COORDINATE = 0x8453, + FOG_COORDINATE_ARRAY_TYPE = 0x8454, + FOG_COORDINATE_ARRAY_STRIDE = 0x8455, + FOG_COORDINATE_ARRAY_POINTER = 0x8456, + FOG_COORDINATE_ARRAY = 0x8457, + COLOR_SUM = 0x8458, + CURRENT_SECONDARY_COLOR = 0x8459, + SECONDARY_COLOR_ARRAY_SIZE = 0x845A, + SECONDARY_COLOR_ARRAY_TYPE = 0x845B, + SECONDARY_COLOR_ARRAY_STRIDE = 0x845C, + SECONDARY_COLOR_ARRAY_POINTER = 0x845D, + SECONDARY_COLOR_ARRAY = 0x845E, + MAX_TEXTURE_LOD_BIAS = 0x84FD, + TEXTURE_FILTER_CONTROL = 0x8500, + TEXTURE_LOD_BIAS = 0x8501, + INCR_WRAP = 0x8507, + DECR_WRAP = 0x8508, + TEXTURE_DEPTH_SIZE = 0x884A, + DEPTH_TEXTURE_MODE = 0x884B, + TEXTURE_COMPARE_MODE = 0x884C, + TEXTURE_COMPARE_FUNC = 0x884D, + COMPARE_R_TO_TEXTURE = 0x884E, + BUFFER_SIZE = 0x8764, + BUFFER_USAGE = 0x8765, + QUERY_COUNTER_BITS = 0x8864, + CURRENT_QUERY = 0x8865, + QUERY_RESULT = 0x8866, + QUERY_RESULT_AVAILABLE = 0x8867, + ARRAY_BUFFER = 0x8892, + ELEMENT_ARRAY_BUFFER = 0x8893, + ARRAY_BUFFER_BINDING = 0x8894, + ELEMENT_ARRAY_BUFFER_BINDING = 0x8895, + VERTEX_ARRAY_BUFFER_BINDING = 0x8896, + NORMAL_ARRAY_BUFFER_BINDING = 0x8897, + COLOR_ARRAY_BUFFER_BINDING = 0x8898, + INDEX_ARRAY_BUFFER_BINDING = 0x8899, + TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A, + EDGE_FLAG_ARRAY_BUFFER_BINDING = 0x889B, + SECONDARY_COLOR_ARRAY_BUFFER_BINDING = 0x889C, + FOG_COORDINATE_ARRAY_BUFFER_BINDING = 0x889D, + WEIGHT_ARRAY_BUFFER_BINDING = 0x889E, + VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F, + READ_ONLY = 0x88B8, + WRITE_ONLY = 0x88B9, + READ_WRITE = 0x88BA, + BUFFER_ACCESS = 0x88BB, + BUFFER_MAPPED = 0x88BC, + BUFFER_MAP_POINTER = 0x88BD, + STREAM_DRAW = 0x88E0, + STREAM_READ = 0x88E1, + STREAM_COPY = 0x88E2, + STATIC_DRAW = 0x88E4, + STATIC_READ = 0x88E5, + STATIC_COPY = 0x88E6, + DYNAMIC_DRAW = 0x88E8, + DYNAMIC_READ = 0x88E9, + DYNAMIC_COPY = 0x88EA, + SAMPLES_PASSED = 0x8914, + FOG_COORD_SRC = VERSION_1_4.FOG_COORDINATE_SOURCE, + FOG_COORD = VERSION_1_4.FOG_COORDINATE, + CURRENT_FOG_COORD = VERSION_1_4.CURRENT_FOG_COORDINATE, + FOG_COORD_ARRAY_TYPE = VERSION_1_4.FOG_COORDINATE_ARRAY_TYPE, + FOG_COORD_ARRAY_STRIDE = VERSION_1_4.FOG_COORDINATE_ARRAY_STRIDE, + FOG_COORD_ARRAY_POINTER = VERSION_1_4.FOG_COORDINATE_ARRAY_POINTER, + FOG_COORD_ARRAY = VERSION_1_4.FOG_COORDINATE_ARRAY, + FOG_COORD_ARRAY_BUFFER_BINDING = VERSION_1_5.FOG_COORDINATE_ARRAY_BUFFER_BINDING, + SRC0_RGB = VERSION_1_3.SOURCE0_RGB, + SRC1_RGB = VERSION_1_3.SOURCE1_RGB, + SRC2_RGB = VERSION_1_3.SOURCE2_RGB, + SRC0_ALPHA = VERSION_1_3.SOURCE0_ALPHA, + SRC1_ALPHA = VERSION_1_3.SOURCE1_ALPHA, + SRC2_ALPHA = VERSION_1_3.SOURCE2_ALPHA, + BLEND_EQUATION_RGB = ARB_imaging.BLEND_EQUATION, + VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622, + VERTEX_ATTRIB_ARRAY_SIZE = 0x8623, + VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624, + VERTEX_ATTRIB_ARRAY_TYPE = 0x8625, + CURRENT_VERTEX_ATTRIB = 0x8626, + VERTEX_PROGRAM_POINT_SIZE = 0x8642, + VERTEX_PROGRAM_TWO_SIDE = 0x8643, + VERTEX_ATTRIB_ARRAY_POINTER = 0x8645, + STENCIL_BACK_FUNC = 0x8800, + STENCIL_BACK_FAIL = 0x8801, + STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802, + STENCIL_BACK_PASS_DEPTH_PASS = 0x8803, + MAX_DRAW_BUFFERS = 0x8824, + DRAW_BUFFER0 = 0x8825, + DRAW_BUFFER1 = 0x8826, + DRAW_BUFFER2 = 0x8827, + DRAW_BUFFER3 = 0x8828, + DRAW_BUFFER4 = 0x8829, + DRAW_BUFFER5 = 0x882A, + DRAW_BUFFER6 = 0x882B, + DRAW_BUFFER7 = 0x882C, + DRAW_BUFFER8 = 0x882D, + DRAW_BUFFER9 = 0x882E, + DRAW_BUFFER10 = 0x882F, + DRAW_BUFFER11 = 0x8830, + DRAW_BUFFER12 = 0x8831, + DRAW_BUFFER13 = 0x8832, + DRAW_BUFFER14 = 0x8833, + DRAW_BUFFER15 = 0x8834, + BLEND_EQUATION_ALPHA = 0x883D, + POINT_SPRITE = 0x8861, + COORD_REPLACE = 0x8862, + MAX_VERTEX_ATTRIBS = 0x8869, + VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A, + MAX_TEXTURE_COORDS = 0x8871, + MAX_TEXTURE_IMAGE_UNITS = 0x8872, + FRAGMENT_SHADER = 0x8B30, + VERTEX_SHADER = 0x8B31, + MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49, + MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A, + MAX_VARYING_FLOATS = 0x8B4B, + MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C, + MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D, + SHADER_TYPE = 0x8B4F, + FLOAT_VEC2 = 0x8B50, + FLOAT_VEC3 = 0x8B51, + FLOAT_VEC4 = 0x8B52, + INT_VEC2 = 0x8B53, + INT_VEC3 = 0x8B54, + INT_VEC4 = 0x8B55, + BOOL = 0x8B56, + BOOL_VEC2 = 0x8B57, + BOOL_VEC3 = 0x8B58, + BOOL_VEC4 = 0x8B59, + FLOAT_MAT2 = 0x8B5A, + FLOAT_MAT3 = 0x8B5B, + FLOAT_MAT4 = 0x8B5C, + SAMPLER_1D = 0x8B5D, + SAMPLER_2D = 0x8B5E, + SAMPLER_3D = 0x8B5F, + SAMPLER_CUBE = 0x8B60, + SAMPLER_1D_SHADOW = 0x8B61, + SAMPLER_2D_SHADOW = 0x8B62, + DELETE_STATUS = 0x8B80, + COMPILE_STATUS = 0x8B81, + LINK_STATUS = 0x8B82, + VALIDATE_STATUS = 0x8B83, + INFO_LOG_LENGTH = 0x8B84, + ATTACHED_SHADERS = 0x8B85, + ACTIVE_UNIFORMS = 0x8B86, + ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87, + SHADER_SOURCE_LENGTH = 0x8B88, + ACTIVE_ATTRIBUTES = 0x8B89, + ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A, + FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B, + SHADING_LANGUAGE_VERSION = 0x8B8C, + CURRENT_PROGRAM = 0x8B8D, + POINT_SPRITE_COORD_ORIGIN = 0x8CA0, + LOWER_LEFT = 0x8CA1, + UPPER_LEFT = 0x8CA2, + STENCIL_BACK_REF = 0x8CA3, + STENCIL_BACK_VALUE_MASK = 0x8CA4, + STENCIL_BACK_WRITEMASK = 0x8CA5, + CURRENT_RASTER_SECONDARY_COLOR = 0x845F, + PIXEL_PACK_BUFFER = 0x88EB, + PIXEL_UNPACK_BUFFER = 0x88EC, + PIXEL_PACK_BUFFER_BINDING = 0x88ED, + PIXEL_UNPACK_BUFFER_BINDING = 0x88EF, + FLOAT_MAT2x3 = 0x8B65, + FLOAT_MAT2x4 = 0x8B66, + FLOAT_MAT3x2 = 0x8B67, + FLOAT_MAT3x4 = 0x8B68, + FLOAT_MAT4x2 = 0x8B69, + FLOAT_MAT4x3 = 0x8B6A, + SRGB = 0x8C40, + SRGB8 = 0x8C41, + SRGB_ALPHA = 0x8C42, + SRGB8_ALPHA8 = 0x8C43, + SLUMINANCE_ALPHA = 0x8C44, + SLUMINANCE8_ALPHA8 = 0x8C45, + SLUMINANCE = 0x8C46, + SLUMINANCE8 = 0x8C47, + COMPRESSED_SRGB = 0x8C48, + COMPRESSED_SRGB_ALPHA = 0x8C49, + COMPRESSED_SLUMINANCE = 0x8C4A, + COMPRESSED_SLUMINANCE_ALPHA = 0x8C4B, + TEXTURE0_ARB = 0x84C0, + TEXTURE1_ARB = 0x84C1, + TEXTURE2_ARB = 0x84C2, + TEXTURE3_ARB = 0x84C3, + TEXTURE4_ARB = 0x84C4, + TEXTURE5_ARB = 0x84C5, + TEXTURE6_ARB = 0x84C6, + TEXTURE7_ARB = 0x84C7, + TEXTURE8_ARB = 0x84C8, + TEXTURE9_ARB = 0x84C9, + TEXTURE10_ARB = 0x84CA, + TEXTURE11_ARB = 0x84CB, + TEXTURE12_ARB = 0x84CC, + TEXTURE13_ARB = 0x84CD, + TEXTURE14_ARB = 0x84CE, + TEXTURE15_ARB = 0x84CF, + TEXTURE16_ARB = 0x84D0, + TEXTURE17_ARB = 0x84D1, + TEXTURE18_ARB = 0x84D2, + TEXTURE19_ARB = 0x84D3, + TEXTURE20_ARB = 0x84D4, + TEXTURE21_ARB = 0x84D5, + TEXTURE22_ARB = 0x84D6, + TEXTURE23_ARB = 0x84D7, + TEXTURE24_ARB = 0x84D8, + TEXTURE25_ARB = 0x84D9, + TEXTURE26_ARB = 0x84DA, + TEXTURE27_ARB = 0x84DB, + TEXTURE28_ARB = 0x84DC, + TEXTURE29_ARB = 0x84DD, + TEXTURE30_ARB = 0x84DE, + TEXTURE31_ARB = 0x84DF, + ACTIVE_TEXTURE_ARB = 0x84E0, + CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1, + MAX_TEXTURE_UNITS_ARB = 0x84E2, + TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3, + TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4, + TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5, + TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6, + MULTISAMPLE_BIT_ARB = 0x20000000, + NORMAL_MAP_ARB = 0x8511, + REFLECTION_MAP_ARB = 0x8512, + TEXTURE_CUBE_MAP_ARB = 0x8513, + TEXTURE_BINDING_CUBE_MAP_ARB = 0x8514, + TEXTURE_CUBE_MAP_POSITIVE_X_ARB = 0x8515, + TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = 0x8516, + TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = 0x8517, + TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = 0x8518, + TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = 0x8519, + TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = 0x851A, + PROXY_TEXTURE_CUBE_MAP_ARB = 0x851B, + MAX_CUBE_MAP_TEXTURE_SIZE_ARB = 0x851C, + COMPRESSED_ALPHA_ARB = 0x84E9, + COMPRESSED_LUMINANCE_ARB = 0x84EA, + COMPRESSED_LUMINANCE_ALPHA_ARB = 0x84EB, + COMPRESSED_INTENSITY_ARB = 0x84EC, + COMPRESSED_RGB_ARB = 0x84ED, + COMPRESSED_RGBA_ARB = 0x84EE, + TEXTURE_COMPRESSION_HINT_ARB = 0x84EF, + TEXTURE_COMPRESSED_IMAGE_SIZE_ARB = 0x86A0, + TEXTURE_COMPRESSED_ARB = 0x86A1, + NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2, + COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3, + MAX_VERTEX_UNITS_ARB = 0x86A4, + ACTIVE_VERTEX_UNITS_ARB = 0x86A5, + WEIGHT_SUM_UNITY_ARB = 0x86A6, + VERTEX_BLEND_ARB = 0x86A7, + CURRENT_WEIGHT_ARB = 0x86A8, + WEIGHT_ARRAY_TYPE_ARB = 0x86A9, + WEIGHT_ARRAY_STRIDE_ARB = 0x86AA, + WEIGHT_ARRAY_SIZE_ARB = 0x86AB, + WEIGHT_ARRAY_POINTER_ARB = 0x86AC, + WEIGHT_ARRAY_ARB = 0x86AD, + MODELVIEW0_ARB = 0x1700, + MODELVIEW1_ARB = 0x850A, + MODELVIEW2_ARB = 0x8722, + MODELVIEW3_ARB = 0x8723, + MODELVIEW4_ARB = 0x8724, + MODELVIEW5_ARB = 0x8725, + MODELVIEW6_ARB = 0x8726, + MODELVIEW7_ARB = 0x8727, + MODELVIEW8_ARB = 0x8728, + MODELVIEW9_ARB = 0x8729, + MODELVIEW10_ARB = 0x872A, + MODELVIEW11_ARB = 0x872B, + MODELVIEW12_ARB = 0x872C, + MODELVIEW13_ARB = 0x872D, + MODELVIEW14_ARB = 0x872E, + MODELVIEW15_ARB = 0x872F, + MODELVIEW16_ARB = 0x8730, + MODELVIEW17_ARB = 0x8731, + MODELVIEW18_ARB = 0x8732, + MODELVIEW19_ARB = 0x8733, + MODELVIEW20_ARB = 0x8734, + MODELVIEW21_ARB = 0x8735, + MODELVIEW22_ARB = 0x8736, + MODELVIEW23_ARB = 0x8737, + MODELVIEW24_ARB = 0x8738, + MODELVIEW25_ARB = 0x8739, + MODELVIEW26_ARB = 0x873A, + MODELVIEW27_ARB = 0x873B, + MODELVIEW28_ARB = 0x873C, + MODELVIEW29_ARB = 0x873D, + MODELVIEW30_ARB = 0x873E, + MODELVIEW31_ARB = 0x873F, + MATRIX_PALETTE_ARB = 0x8840, + MAX_MATRIX_PALETTE_STACK_DEPTH_ARB = 0x8841, + MAX_PALETTE_MATRICES_ARB = 0x8842, + CURRENT_PALETTE_MATRIX_ARB = 0x8843, + MATRIX_INDEX_ARRAY_ARB = 0x8844, + CURRENT_MATRIX_INDEX_ARB = 0x8845, + MATRIX_INDEX_ARRAY_SIZE_ARB = 0x8846, + MATRIX_INDEX_ARRAY_TYPE_ARB = 0x8847, + MATRIX_INDEX_ARRAY_STRIDE_ARB = 0x8848, + MATRIX_INDEX_ARRAY_POINTER_ARB = 0x8849, + COMBINE_ARB = 0x8570, + COMBINE_RGB_ARB = 0x8571, + COMBINE_ALPHA_ARB = 0x8572, + SOURCE0_RGB_ARB = 0x8580, + SOURCE1_RGB_ARB = 0x8581, + SOURCE2_RGB_ARB = 0x8582, + SOURCE0_ALPHA_ARB = 0x8588, + SOURCE1_ALPHA_ARB = 0x8589, + SOURCE2_ALPHA_ARB = 0x858A, + OPERAND0_RGB_ARB = 0x8590, + OPERAND1_RGB_ARB = 0x8591, + OPERAND2_RGB_ARB = 0x8592, + OPERAND0_ALPHA_ARB = 0x8598, + OPERAND1_ALPHA_ARB = 0x8599, + OPERAND2_ALPHA_ARB = 0x859A, + RGB_SCALE_ARB = 0x8573, + ADD_SIGNED_ARB = 0x8574, + INTERPOLATE_ARB = 0x8575, + SUBTRACT_ARB = 0x84E7, + CONSTANT_ARB = 0x8576, + PRIMARY_COLOR_ARB = 0x8577, + PREVIOUS_ARB = 0x8578, + DOT3_RGB_ARB = 0x86AE, + DOT3_RGBA_ARB = 0x86AF, + MIRRORED_REPEAT_ARB = 0x8370, + DEPTH_COMPONENT16_ARB = 0x81A5, + DEPTH_COMPONENT24_ARB = 0x81A6, + DEPTH_COMPONENT32_ARB = 0x81A7, + TEXTURE_DEPTH_SIZE_ARB = 0x884A, + DEPTH_TEXTURE_MODE_ARB = 0x884B, + TEXTURE_COMPARE_MODE_ARB = 0x884C, + TEXTURE_COMPARE_FUNC_ARB = 0x884D, + COMPARE_R_TO_TEXTURE_ARB = 0x884E, + TEXTURE_COMPARE_FAIL_VALUE_ARB = 0x80BF, + COLOR_SUM_ARB = 0x8458, + VERTEX_PROGRAM_ARB = 0x8620, + VERTEX_ATTRIB_ARRAY_ENABLED_ARB = 0x8622, + VERTEX_ATTRIB_ARRAY_SIZE_ARB = 0x8623, + VERTEX_ATTRIB_ARRAY_STRIDE_ARB = 0x8624, + VERTEX_ATTRIB_ARRAY_TYPE_ARB = 0x8625, + CURRENT_VERTEX_ATTRIB_ARB = 0x8626, + PROGRAM_LENGTH_ARB = 0x8627, + PROGRAM_STRING_ARB = 0x8628, + MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB = 0x862E, + MAX_PROGRAM_MATRICES_ARB = 0x862F, + CURRENT_MATRIX_STACK_DEPTH_ARB = 0x8640, + CURRENT_MATRIX_ARB = 0x8641, + VERTEX_PROGRAM_POINT_SIZE_ARB = 0x8642, + VERTEX_PROGRAM_TWO_SIDE_ARB = 0x8643, + VERTEX_ATTRIB_ARRAY_POINTER_ARB = 0x8645, + PROGRAM_ERROR_POSITION_ARB = 0x864B, + PROGRAM_BINDING_ARB = 0x8677, + MAX_VERTEX_ATTRIBS_ARB = 0x8869, + VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB = 0x886A, + PROGRAM_ERROR_STRING_ARB = 0x8874, + PROGRAM_FORMAT_ASCII_ARB = 0x8875, + PROGRAM_FORMAT_ARB = 0x8876, + PROGRAM_INSTRUCTIONS_ARB = 0x88A0, + MAX_PROGRAM_INSTRUCTIONS_ARB = 0x88A1, + PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A2, + MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB = 0x88A3, + PROGRAM_TEMPORARIES_ARB = 0x88A4, + MAX_PROGRAM_TEMPORARIES_ARB = 0x88A5, + PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A6, + MAX_PROGRAM_NATIVE_TEMPORARIES_ARB = 0x88A7, + PROGRAM_PARAMETERS_ARB = 0x88A8, + MAX_PROGRAM_PARAMETERS_ARB = 0x88A9, + PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AA, + MAX_PROGRAM_NATIVE_PARAMETERS_ARB = 0x88AB, + PROGRAM_ATTRIBS_ARB = 0x88AC, + MAX_PROGRAM_ATTRIBS_ARB = 0x88AD, + PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AE, + MAX_PROGRAM_NATIVE_ATTRIBS_ARB = 0x88AF, + PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B0, + MAX_PROGRAM_ADDRESS_REGISTERS_ARB = 0x88B1, + PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B2, + MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB = 0x88B3, + MAX_PROGRAM_LOCAL_PARAMETERS_ARB = 0x88B4, + MAX_PROGRAM_ENV_PARAMETERS_ARB = 0x88B5, + PROGRAM_UNDER_NATIVE_LIMITS_ARB = 0x88B6, + TRANSPOSE_CURRENT_MATRIX_ARB = 0x88B7, + MATRIX0_ARB = 0x88C0, + MATRIX1_ARB = 0x88C1, + MATRIX2_ARB = 0x88C2, + MATRIX3_ARB = 0x88C3, + MATRIX4_ARB = 0x88C4, + MATRIX5_ARB = 0x88C5, + MATRIX6_ARB = 0x88C6, + MATRIX7_ARB = 0x88C7, + MATRIX8_ARB = 0x88C8, + MATRIX9_ARB = 0x88C9, + MATRIX10_ARB = 0x88CA, + MATRIX11_ARB = 0x88CB, + MATRIX12_ARB = 0x88CC, + MATRIX13_ARB = 0x88CD, + MATRIX14_ARB = 0x88CE, + MATRIX15_ARB = 0x88CF, + MATRIX16_ARB = 0x88D0, + MATRIX17_ARB = 0x88D1, + MATRIX18_ARB = 0x88D2, + MATRIX19_ARB = 0x88D3, + MATRIX20_ARB = 0x88D4, + MATRIX21_ARB = 0x88D5, + MATRIX22_ARB = 0x88D6, + MATRIX23_ARB = 0x88D7, + MATRIX24_ARB = 0x88D8, + MATRIX25_ARB = 0x88D9, + MATRIX26_ARB = 0x88DA, + MATRIX27_ARB = 0x88DB, + MATRIX28_ARB = 0x88DC, + MATRIX29_ARB = 0x88DD, + MATRIX30_ARB = 0x88DE, + MATRIX31_ARB = 0x88DF, + FRAGMENT_PROGRAM_ARB = 0x8804, + PROGRAM_ALU_INSTRUCTIONS_ARB = 0x8805, + PROGRAM_TEX_INSTRUCTIONS_ARB = 0x8806, + PROGRAM_TEX_INDIRECTIONS_ARB = 0x8807, + PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x8808, + PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x8809, + PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x880A, + MAX_PROGRAM_ALU_INSTRUCTIONS_ARB = 0x880B, + MAX_PROGRAM_TEX_INSTRUCTIONS_ARB = 0x880C, + MAX_PROGRAM_TEX_INDIRECTIONS_ARB = 0x880D, + MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB = 0x880E, + MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB = 0x880F, + MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB = 0x8810, + MAX_TEXTURE_COORDS_ARB = 0x8871, + MAX_TEXTURE_IMAGE_UNITS_ARB = 0x8872, + BUFFER_SIZE_ARB = 0x8764, + BUFFER_USAGE_ARB = 0x8765, + ARRAY_BUFFER_ARB = 0x8892, + ELEMENT_ARRAY_BUFFER_ARB = 0x8893, + ARRAY_BUFFER_BINDING_ARB = 0x8894, + ELEMENT_ARRAY_BUFFER_BINDING_ARB = 0x8895, + VERTEX_ARRAY_BUFFER_BINDING_ARB = 0x8896, + NORMAL_ARRAY_BUFFER_BINDING_ARB = 0x8897, + COLOR_ARRAY_BUFFER_BINDING_ARB = 0x8898, + INDEX_ARRAY_BUFFER_BINDING_ARB = 0x8899, + TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB = 0x889A, + EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB = 0x889B, + SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB = 0x889C, + FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB = 0x889D, + WEIGHT_ARRAY_BUFFER_BINDING_ARB = 0x889E, + VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB = 0x889F, + READ_ONLY_ARB = 0x88B8, + WRITE_ONLY_ARB = 0x88B9, + READ_WRITE_ARB = 0x88BA, + BUFFER_ACCESS_ARB = 0x88BB, + BUFFER_MAPPED_ARB = 0x88BC, + BUFFER_MAP_POINTER_ARB = 0x88BD, + STREAM_DRAW_ARB = 0x88E0, + STREAM_READ_ARB = 0x88E1, + STREAM_COPY_ARB = 0x88E2, + STATIC_DRAW_ARB = 0x88E4, + STATIC_READ_ARB = 0x88E5, + STATIC_COPY_ARB = 0x88E6, + DYNAMIC_DRAW_ARB = 0x88E8, + DYNAMIC_READ_ARB = 0x88E9, + DYNAMIC_COPY_ARB = 0x88EA, + QUERY_COUNTER_BITS_ARB = 0x8864, + CURRENT_QUERY_ARB = 0x8865, + QUERY_RESULT_ARB = 0x8866, + QUERY_RESULT_AVAILABLE_ARB = 0x8867, + SAMPLES_PASSED_ARB = 0x8914, + PROGRAM_OBJECT_ARB = 0x8B40, + SHADER_OBJECT_ARB = 0x8B48, + OBJECT_TYPE_ARB = 0x8B4E, + OBJECT_SUBTYPE_ARB = 0x8B4F, + FLOAT_VEC2_ARB = 0x8B50, + FLOAT_VEC3_ARB = 0x8B51, + FLOAT_VEC4_ARB = 0x8B52, + INT_VEC2_ARB = 0x8B53, + INT_VEC3_ARB = 0x8B54, + INT_VEC4_ARB = 0x8B55, + BOOL_ARB = 0x8B56, + BOOL_VEC2_ARB = 0x8B57, + BOOL_VEC3_ARB = 0x8B58, + BOOL_VEC4_ARB = 0x8B59, + FLOAT_MAT2_ARB = 0x8B5A, + FLOAT_MAT3_ARB = 0x8B5B, + FLOAT_MAT4_ARB = 0x8B5C, + SAMPLER_1D_ARB = 0x8B5D, + SAMPLER_2D_ARB = 0x8B5E, + SAMPLER_3D_ARB = 0x8B5F, + SAMPLER_CUBE_ARB = 0x8B60, + SAMPLER_1D_SHADOW_ARB = 0x8B61, + SAMPLER_2D_SHADOW_ARB = 0x8B62, + SAMPLER_2D_RECT_ARB = 0x8B63, + SAMPLER_2D_RECT_SHADOW_ARB = 0x8B64, + OBJECT_DELETE_STATUS_ARB = 0x8B80, + OBJECT_COMPILE_STATUS_ARB = 0x8B81, + OBJECT_LINK_STATUS_ARB = 0x8B82, + OBJECT_VALIDATE_STATUS_ARB = 0x8B83, + OBJECT_INFO_LOG_LENGTH_ARB = 0x8B84, + OBJECT_ATTACHED_OBJECTS_ARB = 0x8B85, + OBJECT_ACTIVE_UNIFORMS_ARB = 0x8B86, + OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB = 0x8B87, + OBJECT_SHADER_SOURCE_LENGTH_ARB = 0x8B88, + VERTEX_SHADER_ARB = 0x8B31, + MAX_VERTEX_UNIFORM_COMPONENTS_ARB = 0x8B4A, + MAX_VARYING_FLOATS_ARB = 0x8B4B, + MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8B4C, + MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB = 0x8B4D, + OBJECT_ACTIVE_ATTRIBUTES_ARB = 0x8B89, + OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB = 0x8B8A, + FRAGMENT_SHADER_ARB = 0x8B30, + MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB = 0x8B49, + FRAGMENT_SHADER_DERIVATIVE_HINT_ARB = 0x8B8B, + SHADING_LANGUAGE_VERSION_ARB = 0x8B8C, + POINT_SPRITE_ARB = 0x8861, + COORD_REPLACE_ARB = 0x8862, + MAX_DRAW_BUFFERS_ARB = 0x8824, + DRAW_BUFFER0_ARB = 0x8825, + DRAW_BUFFER1_ARB = 0x8826, + DRAW_BUFFER2_ARB = 0x8827, + DRAW_BUFFER3_ARB = 0x8828, + DRAW_BUFFER4_ARB = 0x8829, + DRAW_BUFFER5_ARB = 0x882A, + DRAW_BUFFER6_ARB = 0x882B, + DRAW_BUFFER7_ARB = 0x882C, + DRAW_BUFFER8_ARB = 0x882D, + DRAW_BUFFER9_ARB = 0x882E, + DRAW_BUFFER10_ARB = 0x882F, + DRAW_BUFFER11_ARB = 0x8830, + DRAW_BUFFER12_ARB = 0x8831, + DRAW_BUFFER13_ARB = 0x8832, + DRAW_BUFFER14_ARB = 0x8833, + DRAW_BUFFER15_ARB = 0x8834, + TEXTURE_RECTANGLE_ARB = 0x84F5, + TEXTURE_BINDING_RECTANGLE_ARB = 0x84F6, + PROXY_TEXTURE_RECTANGLE_ARB = 0x84F7, + MAX_RECTANGLE_TEXTURE_SIZE_ARB = 0x84F8, + RGBA_FLOAT_MODE_ARB = 0x8820, + CLAMP_VERTEX_COLOR_ARB = 0x891A, + CLAMP_FRAGMENT_COLOR_ARB = 0x891B, + CLAMP_READ_COLOR_ARB = 0x891C, + FIXED_ONLY_ARB = 0x891D, + HALF_FLOAT_ARB = 0x140B, + TEXTURE_RED_TYPE_ARB = 0x8C10, + TEXTURE_GREEN_TYPE_ARB = 0x8C11, + TEXTURE_BLUE_TYPE_ARB = 0x8C12, + TEXTURE_ALPHA_TYPE_ARB = 0x8C13, + TEXTURE_LUMINANCE_TYPE_ARB = 0x8C14, + TEXTURE_INTENSITY_TYPE_ARB = 0x8C15, + TEXTURE_DEPTH_TYPE_ARB = 0x8C16, + UNSIGNED_NORMALIZED_ARB = 0x8C17, + RGBA32F_ARB = 0x8814, + RGB32F_ARB = 0x8815, + ALPHA32F_ARB = 0x8816, + INTENSITY32F_ARB = 0x8817, + LUMINANCE32F_ARB = 0x8818, + LUMINANCE_ALPHA32F_ARB = 0x8819, + RGBA16F_ARB = 0x881A, + RGB16F_ARB = 0x881B, + ALPHA16F_ARB = 0x881C, + INTENSITY16F_ARB = 0x881D, + LUMINANCE16F_ARB = 0x881E, + LUMINANCE_ALPHA16F_ARB = 0x881F, + PIXEL_PACK_BUFFER_ARB = 0x88EB, + PIXEL_UNPACK_BUFFER_ARB = 0x88EC, + PIXEL_PACK_BUFFER_BINDING_ARB = 0x88ED, + PIXEL_UNPACK_BUFFER_BINDING_ARB = 0x88EF, + IMAGE_SCALE_X_HP = 0x8155, + IMAGE_SCALE_Y_HP = 0x8156, + IMAGE_TRANSLATE_X_HP = 0x8157, + IMAGE_TRANSLATE_Y_HP = 0x8158, + IMAGE_ROTATE_ANGLE_HP = 0x8159, + IMAGE_ROTATE_ORIGIN_X_HP = 0x815A, + IMAGE_ROTATE_ORIGIN_Y_HP = 0x815B, + IMAGE_MAG_FILTER_HP = 0x815C, + IMAGE_MIN_FILTER_HP = 0x815D, + IMAGE_CUBIC_WEIGHT_HP = 0x815E, + CUBIC_HP = 0x815F, + AVERAGE_HP = 0x8160, + IMAGE_TRANSFORM_2D_HP = 0x8161, + POST_IMAGE_TRANSFORM_COLOR_TABLE_HP = 0x8162, + PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP = 0x8163, + VERTEX_DATA_HINT_PGI = 0x1A22A, + VERTEX_CONSISTENT_HINT_PGI = 0x1A22B, + MATERIAL_SIDE_HINT_PGI = 0x1A22C, + MAX_VERTEX_HINT_PGI = 0x1A22D, + COLOR3_BIT_PGI = 0x00010000, + COLOR4_BIT_PGI = 0x00020000, + EDGEFLAG_BIT_PGI = 0x00040000, + INDEX_BIT_PGI = 0x00080000, + MAT_AMBIENT_BIT_PGI = 0x00100000, + MAT_AMBIENT_AND_DIFFUSE_BIT_PGI = 0x00200000, + MAT_DIFFUSE_BIT_PGI = 0x00400000, + MAT_EMISSION_BIT_PGI = 0x00800000, + MAT_COLOR_INDEXES_BIT_PGI = 0x01000000, + MAT_SHININESS_BIT_PGI = 0x02000000, + MAT_SPECULAR_BIT_PGI = 0x04000000, + NORMAL_BIT_PGI = 0x08000000, + TEXCOORD1_BIT_PGI = 0x10000000, + TEXCOORD2_BIT_PGI = 0x20000000, + TEXCOORD3_BIT_PGI = 0x40000000, + TEXCOORD4_BIT_PGI = unchecked((Int32)0x80000000), + VERTEX23_BIT_PGI = 0x00000004, + VERTEX4_BIT_PGI = 0x00000008, + PREFER_DOUBLEBUFFER_HINT_PGI = 0x1A1F8, + CONSERVE_MEMORY_HINT_PGI = 0x1A1FD, + RECLAIM_MEMORY_HINT_PGI = 0x1A1FE, + NATIVE_GRAPHICS_HANDLE_PGI = 0x1A202, + NATIVE_GRAPHICS_BEGIN_HINT_PGI = 0x1A203, + NATIVE_GRAPHICS_END_HINT_PGI = 0x1A204, + ALWAYS_FAST_HINT_PGI = 0x1A20C, + ALWAYS_SOFT_HINT_PGI = 0x1A20D, + ALLOW_DRAW_OBJ_HINT_PGI = 0x1A20E, + ALLOW_DRAW_WIN_HINT_PGI = 0x1A20F, + ALLOW_DRAW_FRG_HINT_PGI = 0x1A210, + ALLOW_DRAW_MEM_HINT_PGI = 0x1A211, + STRICT_DEPTHFUNC_HINT_PGI = 0x1A216, + STRICT_LIGHTING_HINT_PGI = 0x1A217, + STRICT_SCISSOR_HINT_PGI = 0x1A218, + FULL_STIPPLE_HINT_PGI = 0x1A219, + CLIP_NEAR_HINT_PGI = 0x1A220, + CLIP_FAR_HINT_PGI = 0x1A221, + WIDE_LINE_HINT_PGI = 0x1A222, + BACK_NORMALS_HINT_PGI = 0x1A223, + COLOR_INDEX1_EXT = 0x80E2, + COLOR_INDEX2_EXT = 0x80E3, + COLOR_INDEX4_EXT = 0x80E4, + COLOR_INDEX8_EXT = 0x80E5, + COLOR_INDEX12_EXT = 0x80E6, + COLOR_INDEX16_EXT = 0x80E7, + TEXTURE_INDEX_SIZE_EXT = 0x80ED, + CLIP_VOLUME_CLIPPING_HINT_EXT = 0x80F0, + INDEX_MATERIAL_EXT = 0x81B8, + INDEX_MATERIAL_PARAMETER_EXT = 0x81B9, + INDEX_MATERIAL_FACE_EXT = 0x81BA, + INDEX_TEST_EXT = 0x81B5, + INDEX_TEST_FUNC_EXT = 0x81B6, + INDEX_TEST_REF_EXT = 0x81B7, + IUI_V2F_EXT = 0x81AD, + IUI_V3F_EXT = 0x81AE, + IUI_N3F_V2F_EXT = 0x81AF, + IUI_N3F_V3F_EXT = 0x81B0, + T2F_IUI_V2F_EXT = 0x81B1, + T2F_IUI_V3F_EXT = 0x81B2, + T2F_IUI_N3F_V2F_EXT = 0x81B3, + T2F_IUI_N3F_V3F_EXT = 0x81B4, + ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8, + ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9, + CULL_VERTEX_EXT = 0x81AA, + CULL_VERTEX_EYE_POSITION_EXT = 0x81AB, + CULL_VERTEX_OBJECT_POSITION_EXT = 0x81AC, + RASTER_POSITION_UNCLIPPED_IBM = 0x19262, + TEXTURE_LIGHTING_MODE_HP = 0x8167, + TEXTURE_POST_SPECULAR_HP = 0x8168, + TEXTURE_PRE_SPECULAR_HP = 0x8169, + MAX_ELEMENTS_VERTICES_EXT = 0x80E8, + MAX_ELEMENTS_INDICES_EXT = 0x80E9, + PHONG_WIN = 0x80EA, + PHONG_HINT_WIN = 0x80EB, + FOG_SPECULAR_TEXTURE_WIN = 0x80EC, + FRAGMENT_MATERIAL_EXT = 0x8349, + FRAGMENT_NORMAL_EXT = 0x834A, + FRAGMENT_COLOR_EXT = 0x834C, + ATTENUATION_EXT = 0x834D, + SHADOW_ATTENUATION_EXT = 0x834E, + TEXTURE_APPLICATION_MODE_EXT = 0x834F, + TEXTURE_LIGHT_EXT = 0x8350, + TEXTURE_MATERIAL_FACE_EXT = 0x8351, + TEXTURE_MATERIAL_PARAMETER_EXT = 0x8352, + FRAGMENT_DEPTH_EXT = EXT_fog_coord.FRAGMENT_DEPTH_EXT, + OCCLUSION_TEST_HP = 0x8165, + OCCLUSION_TEST_RESULT_HP = 0x8166, + COLOR_SUM_EXT = 0x8458, + CURRENT_SECONDARY_COLOR_EXT = 0x8459, + SECONDARY_COLOR_ARRAY_SIZE_EXT = 0x845A, + SECONDARY_COLOR_ARRAY_TYPE_EXT = 0x845B, + SECONDARY_COLOR_ARRAY_STRIDE_EXT = 0x845C, + SECONDARY_COLOR_ARRAY_POINTER_EXT = 0x845D, + SECONDARY_COLOR_ARRAY_EXT = 0x845E, + PERTURB_EXT = 0x85AE, + TEXTURE_NORMAL_EXT = 0x85AF, + FOG_COORDINATE_SOURCE_EXT = 0x8450, + FOG_COORDINATE_EXT = 0x8451, + CURRENT_FOG_COORDINATE_EXT = 0x8453, + FOG_COORDINATE_ARRAY_TYPE_EXT = 0x8454, + FOG_COORDINATE_ARRAY_STRIDE_EXT = 0x8455, + FOG_COORDINATE_ARRAY_POINTER_EXT = 0x8456, + FOG_COORDINATE_ARRAY_EXT = 0x8457, + SCREEN_COORDINATES_REND = 0x8490, + INVERTED_SCREEN_W_REND = 0x8491, + TANGENT_ARRAY_EXT = 0x8439, + BINORMAL_ARRAY_EXT = 0x843A, + CURRENT_TANGENT_EXT = 0x843B, + CURRENT_BINORMAL_EXT = 0x843C, + TANGENT_ARRAY_TYPE_EXT = 0x843E, + TANGENT_ARRAY_STRIDE_EXT = 0x843F, + BINORMAL_ARRAY_TYPE_EXT = 0x8440, + BINORMAL_ARRAY_STRIDE_EXT = 0x8441, + TANGENT_ARRAY_POINTER_EXT = 0x8442, + BINORMAL_ARRAY_POINTER_EXT = 0x8443, + MAP1_TANGENT_EXT = 0x8444, + MAP2_TANGENT_EXT = 0x8445, + MAP1_BINORMAL_EXT = 0x8446, + MAP2_BINORMAL_EXT = 0x8447, + COMBINE_EXT = 0x8570, + COMBINE_RGB_EXT = 0x8571, + COMBINE_ALPHA_EXT = 0x8572, + RGB_SCALE_EXT = 0x8573, + ADD_SIGNED_EXT = 0x8574, + INTERPOLATE_EXT = 0x8575, + CONSTANT_EXT = 0x8576, + PRIMARY_COLOR_EXT = 0x8577, + PREVIOUS_EXT = 0x8578, + SOURCE0_RGB_EXT = 0x8580, + SOURCE1_RGB_EXT = 0x8581, + SOURCE2_RGB_EXT = 0x8582, + SOURCE0_ALPHA_EXT = 0x8588, + SOURCE1_ALPHA_EXT = 0x8589, + SOURCE2_ALPHA_EXT = 0x858A, + OPERAND0_RGB_EXT = 0x8590, + OPERAND1_RGB_EXT = 0x8591, + OPERAND2_RGB_EXT = 0x8592, + OPERAND0_ALPHA_EXT = 0x8598, + OPERAND1_ALPHA_EXT = 0x8599, + OPERAND2_ALPHA_EXT = 0x859A, + LIGHT_MODEL_SPECULAR_VECTOR_APPLE = 0x85B0, + TRANSFORM_HINT_APPLE = 0x85B1, + FOG_SCALE_SGIX = 0x81FC, + FOG_SCALE_VALUE_SGIX = 0x81FD, + UNPACK_CONSTANT_DATA_SUNX = 0x81D5, + TEXTURE_CONSTANT_DATA_SUNX = 0x81D6, + GLOBAL_ALPHA_SUN = 0x81D9, + GLOBAL_ALPHA_FACTOR_SUN = 0x81DA, + RESTART_SUN = 0x0001, + REPLACE_MIDDLE_SUN = 0x0002, + REPLACE_OLDEST_SUN = 0x0003, + TRIANGLE_LIST_SUN = 0x81D7, + REPLACEMENT_CODE_SUN = 0x81D8, + REPLACEMENT_CODE_ARRAY_SUN = 0x85C0, + REPLACEMENT_CODE_ARRAY_TYPE_SUN = 0x85C1, + REPLACEMENT_CODE_ARRAY_STRIDE_SUN = 0x85C2, + REPLACEMENT_CODE_ARRAY_POINTER_SUN = 0x85C3, + R1UI_V3F_SUN = 0x85C4, + R1UI_C4UB_V3F_SUN = 0x85C5, + R1UI_C3F_V3F_SUN = 0x85C6, + R1UI_N3F_V3F_SUN = 0x85C7, + R1UI_C4F_N3F_V3F_SUN = 0x85C8, + R1UI_T2F_V3F_SUN = 0x85C9, + R1UI_T2F_N3F_V3F_SUN = 0x85CA, + R1UI_T2F_C4F_N3F_V3F_SUN = 0x85CB, + BLEND_DST_RGB_EXT = 0x80C8, + BLEND_SRC_RGB_EXT = 0x80C9, + BLEND_DST_ALPHA_EXT = 0x80CA, + BLEND_SRC_ALPHA_EXT = 0x80CB, + RED_MIN_CLAMP_INGR = 0x8560, + GREEN_MIN_CLAMP_INGR = 0x8561, + BLUE_MIN_CLAMP_INGR = 0x8562, + ALPHA_MIN_CLAMP_INGR = 0x8563, + RED_MAX_CLAMP_INGR = 0x8564, + GREEN_MAX_CLAMP_INGR = 0x8565, + BLUE_MAX_CLAMP_INGR = 0x8566, + ALPHA_MAX_CLAMP_INGR = 0x8567, + INTERLACE_READ_INGR = 0x8568, + INCR_WRAP_EXT = 0x8507, + DECR_WRAP_EXT = 0x8508, + _422_EXT = 0x80CC, + _422_REV_EXT = 0x80CD, + _422_AVERAGE_EXT = 0x80CE, + _422_REV_AVERAGE_EXT = 0x80CF, + NORMAL_MAP_NV = 0x8511, + REFLECTION_MAP_NV = 0x8512, + NORMAL_MAP_EXT = 0x8511, + REFLECTION_MAP_EXT = 0x8512, + TEXTURE_CUBE_MAP_EXT = 0x8513, + TEXTURE_BINDING_CUBE_MAP_EXT = 0x8514, + TEXTURE_CUBE_MAP_POSITIVE_X_EXT = 0x8515, + TEXTURE_CUBE_MAP_NEGATIVE_X_EXT = 0x8516, + TEXTURE_CUBE_MAP_POSITIVE_Y_EXT = 0x8517, + TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT = 0x8518, + TEXTURE_CUBE_MAP_POSITIVE_Z_EXT = 0x8519, + TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT = 0x851A, + PROXY_TEXTURE_CUBE_MAP_EXT = 0x851B, + MAX_CUBE_MAP_TEXTURE_SIZE_EXT = 0x851C, + WRAP_BORDER_SUN = 0x81D4, + MAX_TEXTURE_LOD_BIAS_EXT = 0x84FD, + TEXTURE_FILTER_CONTROL_EXT = 0x8500, + TEXTURE_LOD_BIAS_EXT = 0x8501, + TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE, + MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF, + MODELVIEW0_STACK_DEPTH_EXT = GetPName.MODELVIEW_STACK_DEPTH, + MODELVIEW1_STACK_DEPTH_EXT = 0x8502, + MODELVIEW0_MATRIX_EXT = GetPName.MODELVIEW_MATRIX, + MODELVIEW1_MATRIX_EXT = 0x8506, + VERTEX_WEIGHTING_EXT = 0x8509, + MODELVIEW0_EXT = MatrixMode.MODELVIEW, + MODELVIEW1_EXT = 0x850A, + CURRENT_VERTEX_WEIGHT_EXT = 0x850B, + VERTEX_WEIGHT_ARRAY_EXT = 0x850C, + VERTEX_WEIGHT_ARRAY_SIZE_EXT = 0x850D, + VERTEX_WEIGHT_ARRAY_TYPE_EXT = 0x850E, + VERTEX_WEIGHT_ARRAY_STRIDE_EXT = 0x850F, + VERTEX_WEIGHT_ARRAY_POINTER_EXT = 0x8510, + MAX_SHININESS_NV = 0x8504, + MAX_SPOT_EXPONENT_NV = 0x8505, + VERTEX_ARRAY_RANGE_NV = 0x851D, + VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E, + VERTEX_ARRAY_RANGE_VALID_NV = 0x851F, + MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520, + VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521, + REGISTER_COMBINERS_NV = 0x8522, + VARIABLE_A_NV = 0x8523, + VARIABLE_B_NV = 0x8524, + VARIABLE_C_NV = 0x8525, + VARIABLE_D_NV = 0x8526, + VARIABLE_E_NV = 0x8527, + VARIABLE_F_NV = 0x8528, + VARIABLE_G_NV = 0x8529, + CONSTANT_COLOR0_NV = 0x852A, + CONSTANT_COLOR1_NV = 0x852B, + PRIMARY_COLOR_NV = 0x852C, + SECONDARY_COLOR_NV = 0x852D, + SPARE0_NV = 0x852E, + SPARE1_NV = 0x852F, + DISCARD_NV = 0x8530, + E_TIMES_F_NV = 0x8531, + SPARE0_PLUS_SECONDARY_COLOR_NV = 0x8532, + UNSIGNED_IDENTITY_NV = 0x8536, + UNSIGNED_INVERT_NV = 0x8537, + EXPAND_NORMAL_NV = 0x8538, + EXPAND_NEGATE_NV = 0x8539, + HALF_BIAS_NORMAL_NV = 0x853A, + HALF_BIAS_NEGATE_NV = 0x853B, + SIGNED_IDENTITY_NV = 0x853C, + SIGNED_NEGATE_NV = 0x853D, + SCALE_BY_TWO_NV = 0x853E, + SCALE_BY_FOUR_NV = 0x853F, + SCALE_BY_ONE_HALF_NV = 0x8540, + BIAS_BY_NEGATIVE_ONE_HALF_NV = 0x8541, + COMBINER_INPUT_NV = 0x8542, + COMBINER_MAPPING_NV = 0x8543, + COMBINER_COMPONENT_USAGE_NV = 0x8544, + COMBINER_AB_DOT_PRODUCT_NV = 0x8545, + COMBINER_CD_DOT_PRODUCT_NV = 0x8546, + COMBINER_MUX_SUM_NV = 0x8547, + COMBINER_SCALE_NV = 0x8548, + COMBINER_BIAS_NV = 0x8549, + COMBINER_AB_OUTPUT_NV = 0x854A, + COMBINER_CD_OUTPUT_NV = 0x854B, + COMBINER_SUM_OUTPUT_NV = 0x854C, + MAX_GENERAL_COMBINERS_NV = 0x854D, + NUM_GENERAL_COMBINERS_NV = 0x854E, + COLOR_SUM_CLAMP_NV = 0x854F, + COMBINER0_NV = 0x8550, + COMBINER1_NV = 0x8551, + COMBINER2_NV = 0x8552, + COMBINER3_NV = 0x8553, + COMBINER4_NV = 0x8554, + COMBINER5_NV = 0x8555, + COMBINER6_NV = 0x8556, + COMBINER7_NV = 0x8557, + FOG_DISTANCE_MODE_NV = 0x855A, + EYE_RADIAL_NV = 0x855B, + EYE_PLANE_ABSOLUTE_NV = 0x855C, + EMBOSS_LIGHT_NV = 0x855D, + EMBOSS_CONSTANT_NV = 0x855E, + EMBOSS_MAP_NV = 0x855F, + COMBINE4_NV = 0x8503, + SOURCE3_RGB_NV = 0x8583, + SOURCE3_ALPHA_NV = 0x858B, + OPERAND3_RGB_NV = 0x8593, + OPERAND3_ALPHA_NV = 0x859B, + CULL_VERTEX_IBM = 103050, + VERTEX_ARRAY_LIST_IBM = 103070, + NORMAL_ARRAY_LIST_IBM = 103071, + COLOR_ARRAY_LIST_IBM = 103072, + INDEX_ARRAY_LIST_IBM = 103073, + TEXTURE_COORD_ARRAY_LIST_IBM = 103074, + EDGE_FLAG_ARRAY_LIST_IBM = 103075, + FOG_COORDINATE_ARRAY_LIST_IBM = 103076, + SECONDARY_COLOR_ARRAY_LIST_IBM = 103077, + VERTEX_ARRAY_LIST_STRIDE_IBM = 103080, + NORMAL_ARRAY_LIST_STRIDE_IBM = 103081, + COLOR_ARRAY_LIST_STRIDE_IBM = 103082, + INDEX_ARRAY_LIST_STRIDE_IBM = 103083, + TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM = 103084, + EDGE_FLAG_ARRAY_LIST_STRIDE_IBM = 103085, + FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM = 103086, + SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM = 103087, + YCRCB_SGIX = 0x8318, + YCRCBA_SGIX = 0x8319, + DEPTH_PASS_INSTRUMENT_SGIX = 0x8310, + DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX = 0x8311, + DEPTH_PASS_INSTRUMENT_MAX_SGIX = 0x8312, + COMPRESSED_RGB_FXT1_3DFX = 0x86B0, + COMPRESSED_RGBA_FXT1_3DFX = 0x86B1, + MULTISAMPLE_3DFX = 0x86B2, + SAMPLE_BUFFERS_3DFX = 0x86B3, + SAMPLES_3DFX = 0x86B4, + MULTISAMPLE_BIT_3DFX = 0x20000000, + MULTISAMPLE_EXT = 0x809D, + SAMPLE_ALPHA_TO_MASK_EXT = 0x809E, + SAMPLE_ALPHA_TO_ONE_EXT = 0x809F, + SAMPLE_MASK_EXT = 0x80A0, + _1PASS_EXT = 0x80A1, + _2PASS_0_EXT = 0x80A2, + _2PASS_1_EXT = 0x80A3, + _4PASS_0_EXT = 0x80A4, + _4PASS_1_EXT = 0x80A5, + _4PASS_2_EXT = 0x80A6, + _4PASS_3_EXT = 0x80A7, + SAMPLE_BUFFERS_EXT = 0x80A8, + SAMPLES_EXT = 0x80A9, + SAMPLE_MASK_VALUE_EXT = 0x80AA, + SAMPLE_MASK_INVERT_EXT = 0x80AB, + SAMPLE_PATTERN_EXT = 0x80AC, + MULTISAMPLE_BIT_EXT = 0x20000000, + DOT3_RGB_EXT = 0x8740, + DOT3_RGBA_EXT = 0x8741, + MIRROR_CLAMP_ATI = 0x8742, + MIRROR_CLAMP_TO_EDGE_ATI = 0x8743, + ALL_COMPLETED_NV = 0x84F2, + FENCE_STATUS_NV = 0x84F3, + FENCE_CONDITION_NV = 0x84F4, + MIRRORED_REPEAT_IBM = 0x8370, + EVAL_2D_NV = 0x86C0, + EVAL_TRIANGULAR_2D_NV = 0x86C1, + MAP_TESSELLATION_NV = 0x86C2, + MAP_ATTRIB_U_ORDER_NV = 0x86C3, + MAP_ATTRIB_V_ORDER_NV = 0x86C4, + EVAL_FRACTIONAL_TESSELLATION_NV = 0x86C5, + EVAL_VERTEX_ATTRIB0_NV = 0x86C6, + EVAL_VERTEX_ATTRIB1_NV = 0x86C7, + EVAL_VERTEX_ATTRIB2_NV = 0x86C8, + EVAL_VERTEX_ATTRIB3_NV = 0x86C9, + EVAL_VERTEX_ATTRIB4_NV = 0x86CA, + EVAL_VERTEX_ATTRIB5_NV = 0x86CB, + EVAL_VERTEX_ATTRIB6_NV = 0x86CC, + EVAL_VERTEX_ATTRIB7_NV = 0x86CD, + EVAL_VERTEX_ATTRIB8_NV = 0x86CE, + EVAL_VERTEX_ATTRIB9_NV = 0x86CF, + EVAL_VERTEX_ATTRIB10_NV = 0x86D0, + EVAL_VERTEX_ATTRIB11_NV = 0x86D1, + EVAL_VERTEX_ATTRIB12_NV = 0x86D2, + EVAL_VERTEX_ATTRIB13_NV = 0x86D3, + EVAL_VERTEX_ATTRIB14_NV = 0x86D4, + EVAL_VERTEX_ATTRIB15_NV = 0x86D5, + MAX_MAP_TESSELLATION_NV = 0x86D6, + MAX_RATIONAL_EVAL_ORDER_NV = 0x86D7, + DEPTH_STENCIL_NV = 0x84F9, + UNSIGNED_INT_24_8_NV = 0x84FA, + PER_STAGE_CONSTANTS_NV = 0x8535, + TEXTURE_RECTANGLE_NV = 0x84F5, + TEXTURE_BINDING_RECTANGLE_NV = 0x84F6, + PROXY_TEXTURE_RECTANGLE_NV = 0x84F7, + MAX_RECTANGLE_TEXTURE_SIZE_NV = 0x84F8, + OFFSET_TEXTURE_RECTANGLE_NV = 0x864C, + OFFSET_TEXTURE_RECTANGLE_SCALE_NV = 0x864D, + DOT_PRODUCT_TEXTURE_RECTANGLE_NV = 0x864E, + RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV = 0x86D9, + UNSIGNED_INT_S8_S8_8_8_NV = 0x86DA, + UNSIGNED_INT_8_8_S8_S8_REV_NV = 0x86DB, + DSDT_MAG_INTENSITY_NV = 0x86DC, + SHADER_CONSISTENT_NV = 0x86DD, + TEXTURE_SHADER_NV = 0x86DE, + SHADER_OPERATION_NV = 0x86DF, + CULL_MODES_NV = 0x86E0, + OFFSET_TEXTURE_MATRIX_NV = 0x86E1, + OFFSET_TEXTURE_SCALE_NV = 0x86E2, + OFFSET_TEXTURE_BIAS_NV = 0x86E3, + OFFSET_TEXTURE_2D_MATRIX_NV = NV_texture_shader.OFFSET_TEXTURE_MATRIX_NV, + OFFSET_TEXTURE_2D_SCALE_NV = NV_texture_shader.OFFSET_TEXTURE_SCALE_NV, + OFFSET_TEXTURE_2D_BIAS_NV = NV_texture_shader.OFFSET_TEXTURE_BIAS_NV, + PREVIOUS_TEXTURE_INPUT_NV = 0x86E4, + CONST_EYE_NV = 0x86E5, + PASS_THROUGH_NV = 0x86E6, + CULL_FRAGMENT_NV = 0x86E7, + OFFSET_TEXTURE_2D_NV = 0x86E8, + DEPENDENT_AR_TEXTURE_2D_NV = 0x86E9, + DEPENDENT_GB_TEXTURE_2D_NV = 0x86EA, + DOT_PRODUCT_NV = 0x86EC, + DOT_PRODUCT_DEPTH_REPLACE_NV = 0x86ED, + DOT_PRODUCT_TEXTURE_2D_NV = 0x86EE, + DOT_PRODUCT_TEXTURE_CUBE_MAP_NV = 0x86F0, + DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV = 0x86F1, + DOT_PRODUCT_REFLECT_CUBE_MAP_NV = 0x86F2, + DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV = 0x86F3, + HILO_NV = 0x86F4, + DSDT_NV = 0x86F5, + DSDT_MAG_NV = 0x86F6, + DSDT_MAG_VIB_NV = 0x86F7, + HILO16_NV = 0x86F8, + SIGNED_HILO_NV = 0x86F9, + SIGNED_HILO16_NV = 0x86FA, + SIGNED_RGBA_NV = 0x86FB, + SIGNED_RGBA8_NV = 0x86FC, + SIGNED_RGB_NV = 0x86FE, + SIGNED_RGB8_NV = 0x86FF, + SIGNED_LUMINANCE_NV = 0x8701, + SIGNED_LUMINANCE8_NV = 0x8702, + SIGNED_LUMINANCE_ALPHA_NV = 0x8703, + SIGNED_LUMINANCE8_ALPHA8_NV = 0x8704, + SIGNED_ALPHA_NV = 0x8705, + SIGNED_ALPHA8_NV = 0x8706, + SIGNED_INTENSITY_NV = 0x8707, + SIGNED_INTENSITY8_NV = 0x8708, + DSDT8_NV = 0x8709, + DSDT8_MAG8_NV = 0x870A, + DSDT8_MAG8_INTENSITY8_NV = 0x870B, + SIGNED_RGB_UNSIGNED_ALPHA_NV = 0x870C, + SIGNED_RGB8_UNSIGNED_ALPHA8_NV = 0x870D, + HI_SCALE_NV = 0x870E, + LO_SCALE_NV = 0x870F, + DS_SCALE_NV = 0x8710, + DT_SCALE_NV = 0x8711, + MAGNITUDE_SCALE_NV = 0x8712, + VIBRANCE_SCALE_NV = 0x8713, + HI_BIAS_NV = 0x8714, + LO_BIAS_NV = 0x8715, + DS_BIAS_NV = 0x8716, + DT_BIAS_NV = 0x8717, + MAGNITUDE_BIAS_NV = 0x8718, + VIBRANCE_BIAS_NV = 0x8719, + TEXTURE_BORDER_VALUES_NV = 0x871A, + TEXTURE_HI_SIZE_NV = 0x871B, + TEXTURE_LO_SIZE_NV = 0x871C, + TEXTURE_DS_SIZE_NV = 0x871D, + TEXTURE_DT_SIZE_NV = 0x871E, + TEXTURE_MAG_SIZE_NV = 0x871F, + DOT_PRODUCT_TEXTURE_3D_NV = 0x86EF, + VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = 0x8533, + VERTEX_PROGRAM_NV = 0x8620, + VERTEX_STATE_PROGRAM_NV = 0x8621, + ATTRIB_ARRAY_SIZE_NV = 0x8623, + ATTRIB_ARRAY_STRIDE_NV = 0x8624, + ATTRIB_ARRAY_TYPE_NV = 0x8625, + CURRENT_ATTRIB_NV = 0x8626, + PROGRAM_LENGTH_NV = 0x8627, + PROGRAM_STRING_NV = 0x8628, + MODELVIEW_PROJECTION_NV = 0x8629, + IDENTITY_NV = 0x862A, + INVERSE_NV = 0x862B, + TRANSPOSE_NV = 0x862C, + INVERSE_TRANSPOSE_NV = 0x862D, + MAX_TRACK_MATRIX_STACK_DEPTH_NV = 0x862E, + MAX_TRACK_MATRICES_NV = 0x862F, + MATRIX0_NV = 0x8630, + MATRIX1_NV = 0x8631, + MATRIX2_NV = 0x8632, + MATRIX3_NV = 0x8633, + MATRIX4_NV = 0x8634, + MATRIX5_NV = 0x8635, + MATRIX6_NV = 0x8636, + MATRIX7_NV = 0x8637, + CURRENT_MATRIX_STACK_DEPTH_NV = 0x8640, + CURRENT_MATRIX_NV = 0x8641, + VERTEX_PROGRAM_POINT_SIZE_NV = 0x8642, + VERTEX_PROGRAM_TWO_SIDE_NV = 0x8643, + PROGRAM_PARAMETER_NV = 0x8644, + ATTRIB_ARRAY_POINTER_NV = 0x8645, + PROGRAM_TARGET_NV = 0x8646, + PROGRAM_RESIDENT_NV = 0x8647, + TRACK_MATRIX_NV = 0x8648, + TRACK_MATRIX_TRANSFORM_NV = 0x8649, + VERTEX_PROGRAM_BINDING_NV = 0x864A, + PROGRAM_ERROR_POSITION_NV = 0x864B, + VERTEX_ATTRIB_ARRAY0_NV = 0x8650, + VERTEX_ATTRIB_ARRAY1_NV = 0x8651, + VERTEX_ATTRIB_ARRAY2_NV = 0x8652, + VERTEX_ATTRIB_ARRAY3_NV = 0x8653, + VERTEX_ATTRIB_ARRAY4_NV = 0x8654, + VERTEX_ATTRIB_ARRAY5_NV = 0x8655, + VERTEX_ATTRIB_ARRAY6_NV = 0x8656, + VERTEX_ATTRIB_ARRAY7_NV = 0x8657, + VERTEX_ATTRIB_ARRAY8_NV = 0x8658, + VERTEX_ATTRIB_ARRAY9_NV = 0x8659, + VERTEX_ATTRIB_ARRAY10_NV = 0x865A, + VERTEX_ATTRIB_ARRAY11_NV = 0x865B, + VERTEX_ATTRIB_ARRAY12_NV = 0x865C, + VERTEX_ATTRIB_ARRAY13_NV = 0x865D, + VERTEX_ATTRIB_ARRAY14_NV = 0x865E, + VERTEX_ATTRIB_ARRAY15_NV = 0x865F, + MAP1_VERTEX_ATTRIB0_4_NV = 0x8660, + MAP1_VERTEX_ATTRIB1_4_NV = 0x8661, + MAP1_VERTEX_ATTRIB2_4_NV = 0x8662, + MAP1_VERTEX_ATTRIB3_4_NV = 0x8663, + MAP1_VERTEX_ATTRIB4_4_NV = 0x8664, + MAP1_VERTEX_ATTRIB5_4_NV = 0x8665, + MAP1_VERTEX_ATTRIB6_4_NV = 0x8666, + MAP1_VERTEX_ATTRIB7_4_NV = 0x8667, + MAP1_VERTEX_ATTRIB8_4_NV = 0x8668, + MAP1_VERTEX_ATTRIB9_4_NV = 0x8669, + MAP1_VERTEX_ATTRIB10_4_NV = 0x866A, + MAP1_VERTEX_ATTRIB11_4_NV = 0x866B, + MAP1_VERTEX_ATTRIB12_4_NV = 0x866C, + MAP1_VERTEX_ATTRIB13_4_NV = 0x866D, + MAP1_VERTEX_ATTRIB14_4_NV = 0x866E, + MAP1_VERTEX_ATTRIB15_4_NV = 0x866F, + MAP2_VERTEX_ATTRIB0_4_NV = 0x8670, + MAP2_VERTEX_ATTRIB1_4_NV = 0x8671, + MAP2_VERTEX_ATTRIB2_4_NV = 0x8672, + MAP2_VERTEX_ATTRIB3_4_NV = 0x8673, + MAP2_VERTEX_ATTRIB4_4_NV = 0x8674, + MAP2_VERTEX_ATTRIB5_4_NV = 0x8675, + MAP2_VERTEX_ATTRIB6_4_NV = 0x8676, + MAP2_VERTEX_ATTRIB7_4_NV = 0x8677, + MAP2_VERTEX_ATTRIB8_4_NV = 0x8678, + MAP2_VERTEX_ATTRIB9_4_NV = 0x8679, + MAP2_VERTEX_ATTRIB10_4_NV = 0x867A, + MAP2_VERTEX_ATTRIB11_4_NV = 0x867B, + MAP2_VERTEX_ATTRIB12_4_NV = 0x867C, + MAP2_VERTEX_ATTRIB13_4_NV = 0x867D, + MAP2_VERTEX_ATTRIB14_4_NV = 0x867E, + MAP2_VERTEX_ATTRIB15_4_NV = 0x867F, + SCALEBIAS_HINT_SGIX = 0x8322, + INTERLACE_OML = 0x8980, + INTERLACE_READ_OML = 0x8981, + FORMAT_SUBSAMPLE_24_24_OML = 0x8982, + FORMAT_SUBSAMPLE_244_244_OML = 0x8983, + PACK_RESAMPLE_OML = 0x8984, + UNPACK_RESAMPLE_OML = 0x8985, + RESAMPLE_REPLICATE_OML = 0x8986, + RESAMPLE_ZERO_FILL_OML = 0x8987, + RESAMPLE_AVERAGE_OML = 0x8988, + RESAMPLE_DECIMATE_OML = 0x8989, + DEPTH_STENCIL_TO_RGBA_NV = 0x886E, + DEPTH_STENCIL_TO_BGRA_NV = 0x886F, + BUMP_ROT_MATRIX_ATI = 0x8775, + BUMP_ROT_MATRIX_SIZE_ATI = 0x8776, + BUMP_NUM_TEX_UNITS_ATI = 0x8777, + BUMP_TEX_UNITS_ATI = 0x8778, + DUDV_ATI = 0x8779, + DU8DV8_ATI = 0x877A, + BUMP_ENVMAP_ATI = 0x877B, + BUMP_TARGET_ATI = 0x877C, + FRAGMENT_SHADER_ATI = 0x8920, + REG_0_ATI = 0x8921, + REG_1_ATI = 0x8922, + REG_2_ATI = 0x8923, + REG_3_ATI = 0x8924, + REG_4_ATI = 0x8925, + REG_5_ATI = 0x8926, + REG_6_ATI = 0x8927, + REG_7_ATI = 0x8928, + REG_8_ATI = 0x8929, + REG_9_ATI = 0x892A, + REG_10_ATI = 0x892B, + REG_11_ATI = 0x892C, + REG_12_ATI = 0x892D, + REG_13_ATI = 0x892E, + REG_14_ATI = 0x892F, + REG_15_ATI = 0x8930, + REG_16_ATI = 0x8931, + REG_17_ATI = 0x8932, + REG_18_ATI = 0x8933, + REG_19_ATI = 0x8934, + REG_20_ATI = 0x8935, + REG_21_ATI = 0x8936, + REG_22_ATI = 0x8937, + REG_23_ATI = 0x8938, + REG_24_ATI = 0x8939, + REG_25_ATI = 0x893A, + REG_26_ATI = 0x893B, + REG_27_ATI = 0x893C, + REG_28_ATI = 0x893D, + REG_29_ATI = 0x893E, + REG_30_ATI = 0x893F, + REG_31_ATI = 0x8940, + CON_0_ATI = 0x8941, + CON_1_ATI = 0x8942, + CON_2_ATI = 0x8943, + CON_3_ATI = 0x8944, + CON_4_ATI = 0x8945, + CON_5_ATI = 0x8946, + CON_6_ATI = 0x8947, + CON_7_ATI = 0x8948, + CON_8_ATI = 0x8949, + CON_9_ATI = 0x894A, + CON_10_ATI = 0x894B, + CON_11_ATI = 0x894C, + CON_12_ATI = 0x894D, + CON_13_ATI = 0x894E, + CON_14_ATI = 0x894F, + CON_15_ATI = 0x8950, + CON_16_ATI = 0x8951, + CON_17_ATI = 0x8952, + CON_18_ATI = 0x8953, + CON_19_ATI = 0x8954, + CON_20_ATI = 0x8955, + CON_21_ATI = 0x8956, + CON_22_ATI = 0x8957, + CON_23_ATI = 0x8958, + CON_24_ATI = 0x8959, + CON_25_ATI = 0x895A, + CON_26_ATI = 0x895B, + CON_27_ATI = 0x895C, + CON_28_ATI = 0x895D, + CON_29_ATI = 0x895E, + CON_30_ATI = 0x895F, + CON_31_ATI = 0x8960, + MOV_ATI = 0x8961, + ADD_ATI = 0x8963, + MUL_ATI = 0x8964, + SUB_ATI = 0x8965, + DOT3_ATI = 0x8966, + DOT4_ATI = 0x8967, + MAD_ATI = 0x8968, + LERP_ATI = 0x8969, + CND_ATI = 0x896A, + CND0_ATI = 0x896B, + DOT2_ADD_ATI = 0x896C, + SECONDARY_INTERPOLATOR_ATI = 0x896D, + NUM_FRAGMENT_REGISTERS_ATI = 0x896E, + NUM_FRAGMENT_CONSTANTS_ATI = 0x896F, + NUM_PASSES_ATI = 0x8970, + NUM_INSTRUCTIONS_PER_PASS_ATI = 0x8971, + NUM_INSTRUCTIONS_TOTAL_ATI = 0x8972, + NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI = 0x8973, + NUM_LOOPBACK_COMPONENTS_ATI = 0x8974, + COLOR_ALPHA_PAIRING_ATI = 0x8975, + SWIZZLE_STR_ATI = 0x8976, + SWIZZLE_STQ_ATI = 0x8977, + SWIZZLE_STR_DR_ATI = 0x8978, + SWIZZLE_STQ_DQ_ATI = 0x8979, + SWIZZLE_STRQ_ATI = 0x897A, + SWIZZLE_STRQ_DQ_ATI = 0x897B, + RED_BIT_ATI = 0x00000001, + GREEN_BIT_ATI = 0x00000002, + BLUE_BIT_ATI = 0x00000004, + _2X_BIT_ATI = 0x00000001, + _4X_BIT_ATI = 0x00000002, + _8X_BIT_ATI = 0x00000004, + HALF_BIT_ATI = 0x00000008, + QUARTER_BIT_ATI = 0x00000010, + EIGHTH_BIT_ATI = 0x00000020, + SATURATE_BIT_ATI = 0x00000040, + COMP_BIT_ATI = 0x00000002, + NEGATE_BIT_ATI = 0x00000004, + BIAS_BIT_ATI = 0x00000008, + PN_TRIANGLES_ATI = 0x87F0, + MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F1, + PN_TRIANGLES_POINT_MODE_ATI = 0x87F2, + PN_TRIANGLES_NORMAL_MODE_ATI = 0x87F3, + PN_TRIANGLES_TESSELATION_LEVEL_ATI = 0x87F4, + PN_TRIANGLES_POINT_MODE_LINEAR_ATI = 0x87F5, + PN_TRIANGLES_POINT_MODE_CUBIC_ATI = 0x87F6, + PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI = 0x87F7, + PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI = 0x87F8, + STATIC_ATI = 0x8760, + DYNAMIC_ATI = 0x8761, + PRESERVE_ATI = 0x8762, + DISCARD_ATI = 0x8763, + OBJECT_BUFFER_SIZE_ATI = 0x8764, + OBJECT_BUFFER_USAGE_ATI = 0x8765, + ARRAY_OBJECT_BUFFER_ATI = 0x8766, + ARRAY_OBJECT_OFFSET_ATI = 0x8767, + VERTEX_SHADER_EXT = 0x8780, + VERTEX_SHADER_BINDING_EXT = 0x8781, + OP_INDEX_EXT = 0x8782, + OP_NEGATE_EXT = 0x8783, + OP_DOT3_EXT = 0x8784, + OP_DOT4_EXT = 0x8785, + OP_MUL_EXT = 0x8786, + OP_ADD_EXT = 0x8787, + OP_MADD_EXT = 0x8788, + OP_FRAC_EXT = 0x8789, + OP_MAX_EXT = 0x878A, + OP_MIN_EXT = 0x878B, + OP_SET_GE_EXT = 0x878C, + OP_SET_LT_EXT = 0x878D, + OP_CLAMP_EXT = 0x878E, + OP_FLOOR_EXT = 0x878F, + OP_ROUND_EXT = 0x8790, + OP_EXP_BASE_2_EXT = 0x8791, + OP_LOG_BASE_2_EXT = 0x8792, + OP_POWER_EXT = 0x8793, + OP_RECIP_EXT = 0x8794, + OP_RECIP_SQRT_EXT = 0x8795, + OP_SUB_EXT = 0x8796, + OP_CROSS_PRODUCT_EXT = 0x8797, + OP_MULTIPLY_MATRIX_EXT = 0x8798, + OP_MOV_EXT = 0x8799, + OUTPUT_VERTEX_EXT = 0x879A, + OUTPUT_COLOR0_EXT = 0x879B, + OUTPUT_COLOR1_EXT = 0x879C, + OUTPUT_TEXTURE_COORD0_EXT = 0x879D, + OUTPUT_TEXTURE_COORD1_EXT = 0x879E, + OUTPUT_TEXTURE_COORD2_EXT = 0x879F, + OUTPUT_TEXTURE_COORD3_EXT = 0x87A0, + OUTPUT_TEXTURE_COORD4_EXT = 0x87A1, + OUTPUT_TEXTURE_COORD5_EXT = 0x87A2, + OUTPUT_TEXTURE_COORD6_EXT = 0x87A3, + OUTPUT_TEXTURE_COORD7_EXT = 0x87A4, + OUTPUT_TEXTURE_COORD8_EXT = 0x87A5, + OUTPUT_TEXTURE_COORD9_EXT = 0x87A6, + OUTPUT_TEXTURE_COORD10_EXT = 0x87A7, + OUTPUT_TEXTURE_COORD11_EXT = 0x87A8, + OUTPUT_TEXTURE_COORD12_EXT = 0x87A9, + OUTPUT_TEXTURE_COORD13_EXT = 0x87AA, + OUTPUT_TEXTURE_COORD14_EXT = 0x87AB, + OUTPUT_TEXTURE_COORD15_EXT = 0x87AC, + OUTPUT_TEXTURE_COORD16_EXT = 0x87AD, + OUTPUT_TEXTURE_COORD17_EXT = 0x87AE, + OUTPUT_TEXTURE_COORD18_EXT = 0x87AF, + OUTPUT_TEXTURE_COORD19_EXT = 0x87B0, + OUTPUT_TEXTURE_COORD20_EXT = 0x87B1, + OUTPUT_TEXTURE_COORD21_EXT = 0x87B2, + OUTPUT_TEXTURE_COORD22_EXT = 0x87B3, + OUTPUT_TEXTURE_COORD23_EXT = 0x87B4, + OUTPUT_TEXTURE_COORD24_EXT = 0x87B5, + OUTPUT_TEXTURE_COORD25_EXT = 0x87B6, + OUTPUT_TEXTURE_COORD26_EXT = 0x87B7, + OUTPUT_TEXTURE_COORD27_EXT = 0x87B8, + OUTPUT_TEXTURE_COORD28_EXT = 0x87B9, + OUTPUT_TEXTURE_COORD29_EXT = 0x87BA, + OUTPUT_TEXTURE_COORD30_EXT = 0x87BB, + OUTPUT_TEXTURE_COORD31_EXT = 0x87BC, + OUTPUT_FOG_EXT = 0x87BD, + SCALAR_EXT = 0x87BE, + VECTOR_EXT = 0x87BF, + MATRIX_EXT = 0x87C0, + VARIANT_EXT = 0x87C1, + INVARIANT_EXT = 0x87C2, + LOCAL_CONSTANT_EXT = 0x87C3, + LOCAL_EXT = 0x87C4, + MAX_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87C5, + MAX_VERTEX_SHADER_VARIANTS_EXT = 0x87C6, + MAX_VERTEX_SHADER_INVARIANTS_EXT = 0x87C7, + MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87C8, + MAX_VERTEX_SHADER_LOCALS_EXT = 0x87C9, + MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CA, + MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT = 0x87CB, + MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87CC, + MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT = 0x87CD, + MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT = 0x87CE, + VERTEX_SHADER_INSTRUCTIONS_EXT = 0x87CF, + VERTEX_SHADER_VARIANTS_EXT = 0x87D0, + VERTEX_SHADER_INVARIANTS_EXT = 0x87D1, + VERTEX_SHADER_LOCAL_CONSTANTS_EXT = 0x87D2, + VERTEX_SHADER_LOCALS_EXT = 0x87D3, + VERTEX_SHADER_OPTIMIZED_EXT = 0x87D4, + X_EXT = 0x87D5, + Y_EXT = 0x87D6, + Z_EXT = 0x87D7, + W_EXT = 0x87D8, + NEGATIVE_X_EXT = 0x87D9, + NEGATIVE_Y_EXT = 0x87DA, + NEGATIVE_Z_EXT = 0x87DB, + NEGATIVE_W_EXT = 0x87DC, + ZERO_EXT = 0x87DD, + ONE_EXT = 0x87DE, + NEGATIVE_ONE_EXT = 0x87DF, + NORMALIZED_RANGE_EXT = 0x87E0, + FULL_RANGE_EXT = 0x87E1, + CURRENT_VERTEX_EXT = 0x87E2, + MVP_MATRIX_EXT = 0x87E3, + VARIANT_VALUE_EXT = 0x87E4, + VARIANT_DATATYPE_EXT = 0x87E5, + VARIANT_ARRAY_STRIDE_EXT = 0x87E6, + VARIANT_ARRAY_TYPE_EXT = 0x87E7, + VARIANT_ARRAY_EXT = 0x87E8, + VARIANT_ARRAY_POINTER_EXT = 0x87E9, + INVARIANT_VALUE_EXT = 0x87EA, + INVARIANT_DATATYPE_EXT = 0x87EB, + LOCAL_CONSTANT_VALUE_EXT = 0x87EC, + LOCAL_CONSTANT_DATATYPE_EXT = 0x87ED, + MAX_VERTEX_STREAMS_ATI = 0x876B, + VERTEX_STREAM0_ATI = 0x876C, + VERTEX_STREAM1_ATI = 0x876D, + VERTEX_STREAM2_ATI = 0x876E, + VERTEX_STREAM3_ATI = 0x876F, + VERTEX_STREAM4_ATI = 0x8770, + VERTEX_STREAM5_ATI = 0x8771, + VERTEX_STREAM6_ATI = 0x8772, + VERTEX_STREAM7_ATI = 0x8773, + VERTEX_SOURCE_ATI = 0x8774, + ELEMENT_ARRAY_ATI = 0x8768, + ELEMENT_ARRAY_TYPE_ATI = 0x8769, + ELEMENT_ARRAY_POINTER_ATI = 0x876A, + QUAD_MESH_SUN = 0x8614, + TRIANGLE_MESH_SUN = 0x8615, + SLICE_ACCUM_SUN = 0x85CC, + MULTISAMPLE_FILTER_HINT_NV = 0x8534, + DEPTH_CLAMP_NV = 0x864F, + PIXEL_COUNTER_BITS_NV = 0x8864, + CURRENT_OCCLUSION_QUERY_ID_NV = 0x8865, + PIXEL_COUNT_NV = 0x8866, + PIXEL_COUNT_AVAILABLE_NV = 0x8867, + POINT_SPRITE_NV = 0x8861, + COORD_REPLACE_NV = 0x8862, + POINT_SPRITE_R_MODE_NV = 0x8863, + OFFSET_PROJECTIVE_TEXTURE_2D_NV = 0x8850, + OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV = 0x8851, + OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8852, + OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV = 0x8853, + OFFSET_HILO_TEXTURE_2D_NV = 0x8854, + OFFSET_HILO_TEXTURE_RECTANGLE_NV = 0x8855, + OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV = 0x8856, + OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV = 0x8857, + DEPENDENT_HILO_TEXTURE_2D_NV = 0x8858, + DEPENDENT_RGB_TEXTURE_3D_NV = 0x8859, + DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV = 0x885A, + DOT_PRODUCT_PASS_THROUGH_NV = 0x885B, + DOT_PRODUCT_TEXTURE_1D_NV = 0x885C, + DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV = 0x885D, + HILO8_NV = 0x885E, + SIGNED_HILO8_NV = 0x885F, + FORCE_BLUE_TO_ONE_NV = 0x8860, + STENCIL_TEST_TWO_SIDE_EXT = 0x8910, + ACTIVE_STENCIL_FACE_EXT = 0x8911, + TEXT_FRAGMENT_SHADER_ATI = 0x8200, + UNPACK_CLIENT_STORAGE_APPLE = 0x85B2, + ELEMENT_ARRAY_APPLE = 0x8768, + ELEMENT_ARRAY_TYPE_APPLE = 0x8769, + ELEMENT_ARRAY_POINTER_APPLE = 0x876A, + DRAW_PIXELS_APPLE = 0x8A0A, + FENCE_APPLE = 0x8A0B, + VERTEX_ARRAY_BINDING_APPLE = 0x85B5, + VERTEX_ARRAY_RANGE_APPLE = 0x851D, + VERTEX_ARRAY_RANGE_LENGTH_APPLE = 0x851E, + VERTEX_ARRAY_STORAGE_HINT_APPLE = 0x851F, + VERTEX_ARRAY_RANGE_POINTER_APPLE = 0x8521, + STORAGE_CACHED_APPLE = 0x85BE, + STORAGE_SHARED_APPLE = 0x85BF, + YCBCR_422_APPLE = 0x85B9, + UNSIGNED_SHORT_8_8_APPLE = 0x85BA, + UNSIGNED_SHORT_8_8_REV_APPLE = 0x85BB, + RGB_S3TC = 0x83A0, + RGB4_S3TC = 0x83A1, + RGBA_S3TC = 0x83A2, + RGBA4_S3TC = 0x83A3, + MAX_DRAW_BUFFERS_ATI = 0x8824, + DRAW_BUFFER0_ATI = 0x8825, + DRAW_BUFFER1_ATI = 0x8826, + DRAW_BUFFER2_ATI = 0x8827, + DRAW_BUFFER3_ATI = 0x8828, + DRAW_BUFFER4_ATI = 0x8829, + DRAW_BUFFER5_ATI = 0x882A, + DRAW_BUFFER6_ATI = 0x882B, + DRAW_BUFFER7_ATI = 0x882C, + DRAW_BUFFER8_ATI = 0x882D, + DRAW_BUFFER9_ATI = 0x882E, + DRAW_BUFFER10_ATI = 0x882F, + DRAW_BUFFER11_ATI = 0x8830, + DRAW_BUFFER12_ATI = 0x8831, + DRAW_BUFFER13_ATI = 0x8832, + DRAW_BUFFER14_ATI = 0x8833, + DRAW_BUFFER15_ATI = 0x8834, + TYPE_RGBA_FLOAT_ATI = 0x8820, + COLOR_CLEAR_UNCLAMPED_VALUE_ATI = 0x8835, + MODULATE_ADD_ATI = 0x8744, + MODULATE_SIGNED_ADD_ATI = 0x8745, + MODULATE_SUBTRACT_ATI = 0x8746, + RGBA_FLOAT32_ATI = 0x8814, + RGB_FLOAT32_ATI = 0x8815, + ALPHA_FLOAT32_ATI = 0x8816, + INTENSITY_FLOAT32_ATI = 0x8817, + LUMINANCE_FLOAT32_ATI = 0x8818, + LUMINANCE_ALPHA_FLOAT32_ATI = 0x8819, + RGBA_FLOAT16_ATI = 0x881A, + RGB_FLOAT16_ATI = 0x881B, + ALPHA_FLOAT16_ATI = 0x881C, + INTENSITY_FLOAT16_ATI = 0x881D, + LUMINANCE_FLOAT16_ATI = 0x881E, + LUMINANCE_ALPHA_FLOAT16_ATI = 0x881F, + FLOAT_R_NV = 0x8880, + FLOAT_RG_NV = 0x8881, + FLOAT_RGB_NV = 0x8882, + FLOAT_RGBA_NV = 0x8883, + FLOAT_R16_NV = 0x8884, + FLOAT_R32_NV = 0x8885, + FLOAT_RG16_NV = 0x8886, + FLOAT_RG32_NV = 0x8887, + FLOAT_RGB16_NV = 0x8888, + FLOAT_RGB32_NV = 0x8889, + FLOAT_RGBA16_NV = 0x888A, + FLOAT_RGBA32_NV = 0x888B, + TEXTURE_FLOAT_COMPONENTS_NV = 0x888C, + FLOAT_CLEAR_COLOR_VALUE_NV = 0x888D, + FLOAT_RGBA_MODE_NV = 0x888E, + MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV = 0x8868, + FRAGMENT_PROGRAM_NV = 0x8870, + MAX_TEXTURE_COORDS_NV = 0x8871, + MAX_TEXTURE_IMAGE_UNITS_NV = 0x8872, + FRAGMENT_PROGRAM_BINDING_NV = 0x8873, + PROGRAM_ERROR_STRING_NV = 0x8874, + HALF_FLOAT_NV = 0x140B, + WRITE_PIXEL_DATA_RANGE_NV = 0x8878, + READ_PIXEL_DATA_RANGE_NV = 0x8879, + WRITE_PIXEL_DATA_RANGE_LENGTH_NV = 0x887A, + READ_PIXEL_DATA_RANGE_LENGTH_NV = 0x887B, + WRITE_PIXEL_DATA_RANGE_POINTER_NV = 0x887C, + READ_PIXEL_DATA_RANGE_POINTER_NV = 0x887D, + PRIMITIVE_RESTART_NV = 0x8558, + PRIMITIVE_RESTART_INDEX_NV = 0x8559, + TEXTURE_UNSIGNED_REMAP_MODE_NV = 0x888F, + STENCIL_BACK_FUNC_ATI = 0x8800, + STENCIL_BACK_FAIL_ATI = 0x8801, + STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802, + STENCIL_BACK_PASS_DEPTH_PASS_ATI = 0x8803, + IMPLEMENTATION_COLOR_READ_TYPE_OES = 0x8B9A, + IMPLEMENTATION_COLOR_READ_FORMAT_OES = 0x8B9B, + DEPTH_BOUNDS_TEST_EXT = 0x8890, + DEPTH_BOUNDS_EXT = 0x8891, + MIRROR_CLAMP_EXT = 0x8742, + MIRROR_CLAMP_TO_EDGE_EXT = 0x8743, + MIRROR_CLAMP_TO_BORDER_EXT = 0x8912, + BLEND_EQUATION_RGB_EXT = ARB_imaging.BLEND_EQUATION, + BLEND_EQUATION_ALPHA_EXT = 0x883D, + PACK_INVERT_MESA = 0x8758, + UNSIGNED_SHORT_8_8_MESA = 0x85BA, + UNSIGNED_SHORT_8_8_REV_MESA = 0x85BB, + YCBCR_MESA = 0x8757, + PIXEL_PACK_BUFFER_EXT = 0x88EB, + PIXEL_UNPACK_BUFFER_EXT = 0x88EC, + PIXEL_PACK_BUFFER_BINDING_EXT = 0x88ED, + PIXEL_UNPACK_BUFFER_BINDING_EXT = 0x88EF, + MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4, + MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5, + MAX_PROGRAM_IF_DEPTH_NV = 0x88F6, + MAX_PROGRAM_LOOP_DEPTH_NV = 0x88F7, + MAX_PROGRAM_LOOP_COUNT_NV = 0x88F8, + INVALID_FRAMEBUFFER_OPERATION_EXT = 0x0506, + MAX_RENDERBUFFER_SIZE_EXT = 0x84E8, + FRAMEBUFFER_BINDING_EXT = 0x8CA6, + RENDERBUFFER_BINDING_EXT = 0x8CA7, + FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT = 0x8CD0, + FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT = 0x8CD1, + FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT = 0x8CD2, + FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT = 0x8CD3, + FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT = 0x8CD4, + FRAMEBUFFER_COMPLETE_EXT = 0x8CD5, + FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT = 0x8CD6, + FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT = 0x8CD7, + FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT = 0x8CD9, + FRAMEBUFFER_INCOMPLETE_FORMATS_EXT = 0x8CDA, + FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT = 0x8CDB, + FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT = 0x8CDC, + FRAMEBUFFER_UNSUPPORTED_EXT = 0x8CDD, + MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF, + COLOR_ATTACHMENT0_EXT = 0x8CE0, + COLOR_ATTACHMENT1_EXT = 0x8CE1, + COLOR_ATTACHMENT2_EXT = 0x8CE2, + COLOR_ATTACHMENT3_EXT = 0x8CE3, + COLOR_ATTACHMENT4_EXT = 0x8CE4, + COLOR_ATTACHMENT5_EXT = 0x8CE5, + COLOR_ATTACHMENT6_EXT = 0x8CE6, + COLOR_ATTACHMENT7_EXT = 0x8CE7, + COLOR_ATTACHMENT8_EXT = 0x8CE8, + COLOR_ATTACHMENT9_EXT = 0x8CE9, + COLOR_ATTACHMENT10_EXT = 0x8CEA, + COLOR_ATTACHMENT11_EXT = 0x8CEB, + COLOR_ATTACHMENT12_EXT = 0x8CEC, + COLOR_ATTACHMENT13_EXT = 0x8CED, + COLOR_ATTACHMENT14_EXT = 0x8CEE, + COLOR_ATTACHMENT15_EXT = 0x8CEF, + DEPTH_ATTACHMENT_EXT = 0x8D00, + STENCIL_ATTACHMENT_EXT = 0x8D20, + FRAMEBUFFER_EXT = 0x8D40, + RENDERBUFFER_EXT = 0x8D41, + RENDERBUFFER_WIDTH_EXT = 0x8D42, + RENDERBUFFER_HEIGHT_EXT = 0x8D43, + RENDERBUFFER_INTERNAL_FORMAT_EXT = 0x8D44, + STENCIL_INDEX1_EXT = 0x8D46, + STENCIL_INDEX4_EXT = 0x8D47, + STENCIL_INDEX8_EXT = 0x8D48, + STENCIL_INDEX16_EXT = 0x8D49, + RENDERBUFFER_RED_SIZE_EXT = 0x8D50, + RENDERBUFFER_GREEN_SIZE_EXT = 0x8D51, + RENDERBUFFER_BLUE_SIZE_EXT = 0x8D52, + RENDERBUFFER_ALPHA_SIZE_EXT = 0x8D53, + RENDERBUFFER_DEPTH_SIZE_EXT = 0x8D54, + RENDERBUFFER_STENCIL_SIZE_EXT = 0x8D55, + DEPTH_STENCIL_EXT = 0x84F9, + UNSIGNED_INT_24_8_EXT = 0x84FA, + DEPTH24_STENCIL8_EXT = 0x88F0, + TEXTURE_STENCIL_SIZE_EXT = 0x88F1, + STENCIL_TAG_BITS_EXT = 0x88F2, + STENCIL_CLEAR_TAG_VALUE_EXT = 0x88F3, + SRGB_EXT = 0x8C40, + SRGB8_EXT = 0x8C41, + SRGB_ALPHA_EXT = 0x8C42, + SRGB8_ALPHA8_EXT = 0x8C43, + SLUMINANCE_ALPHA_EXT = 0x8C44, + SLUMINANCE8_ALPHA8_EXT = 0x8C45, + SLUMINANCE_EXT = 0x8C46, + SLUMINANCE8_EXT = 0x8C47, + COMPRESSED_SRGB_EXT = 0x8C48, + COMPRESSED_SRGB_ALPHA_EXT = 0x8C49, + COMPRESSED_SLUMINANCE_EXT = 0x8C4A, + COMPRESSED_SLUMINANCE_ALPHA_EXT = 0x8C4B, + COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C, + COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D, + COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E, + COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 0x8C4F, + READ_FRAMEBUFFER_EXT = 0x8CA8, + DRAW_FRAMEBUFFER_EXT = 0x8CA9, + READ_FRAMEBUFFER_BINDING_EXT = EXT_framebuffer_object.FRAMEBUFFER_BINDING_EXT, + DRAW_FRAMEBUFFER_BINDING_EXT = 0x8CAA, + RENDERBUFFER_SAMPLES_EXT = 0x8CAB, + FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT = 0x8D56, + MAX_SAMPLES_EXT = 0x8D57, + TEXTURE_1D_STACK_MESAX = 0x8759, + TEXTURE_2D_STACK_MESAX = 0x875A, + PROXY_TEXTURE_1D_STACK_MESAX = 0x875B, + PROXY_TEXTURE_2D_STACK_MESAX = 0x875C, + TEXTURE_1D_STACK_BINDING_MESAX = 0x875D, + TEXTURE_2D_STACK_BINDING_MESAX = 0x875E, + TIME_ELAPSED_EXT = 0x88BF, + BUFFER_SERIALIZED_MODIFY_APPLE = 0x8A12, + BUFFER_FLUSHING_UNMAP_APPLE = 0x8A13, + MIN_PROGRAM_TEXEL_OFFSET_NV = 0x8904, + MAX_PROGRAM_TEXEL_OFFSET_NV = 0x8905, + PROGRAM_ATTRIB_COMPONENTS_NV = 0x8906, + PROGRAM_RESULT_COMPONENTS_NV = 0x8907, + MAX_PROGRAM_ATTRIB_COMPONENTS_NV = 0x8908, + MAX_PROGRAM_RESULT_COMPONENTS_NV = 0x8909, + MAX_PROGRAM_GENERIC_ATTRIBS_NV = 0x8DA5, + MAX_PROGRAM_GENERIC_RESULTS_NV = 0x8DA6, + LINES_ADJACENCY_EXT = 0x000A, + LINE_STRIP_ADJACENCY_EXT = 0x000B, + TRIANGLES_ADJACENCY_EXT = 0x000C, + TRIANGLE_STRIP_ADJACENCY_EXT = 0x000D, + GEOMETRY_PROGRAM_NV = 0x8C26, + MAX_PROGRAM_OUTPUT_VERTICES_NV = 0x8C27, + MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV = 0x8C28, + GEOMETRY_VERTICES_OUT_EXT = 0x8DDA, + GEOMETRY_INPUT_TYPE_EXT = 0x8DDB, + GEOMETRY_OUTPUT_TYPE_EXT = 0x8DDC, + MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT = 0x8C29, + FRAMEBUFFER_ATTACHMENT_LAYERED_EXT = 0x8DA7, + FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT = 0x8DA8, + FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT = 0x8DA9, + FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT = 0x8CD4, + PROGRAM_POINT_SIZE_EXT = 0x8642, + GEOMETRY_SHADER_EXT = 0x8DD9, + MAX_GEOMETRY_VARYING_COMPONENTS_EXT = 0x8DDD, + MAX_VERTEX_VARYING_COMPONENTS_EXT = 0x8DDE, + MAX_VARYING_COMPONENTS_EXT = 0x8B4B, + MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT = 0x8DDF, + MAX_GEOMETRY_OUTPUT_VERTICES_EXT = 0x8DE0, + MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT = 0x8DE1, + VERTEX_ATTRIB_ARRAY_INTEGER_NV = 0x88FD, + SAMPLER_1D_ARRAY_EXT = 0x8DC0, + SAMPLER_2D_ARRAY_EXT = 0x8DC1, + SAMPLER_BUFFER_EXT = 0x8DC2, + SAMPLER_1D_ARRAY_SHADOW_EXT = 0x8DC3, + SAMPLER_2D_ARRAY_SHADOW_EXT = 0x8DC4, + SAMPLER_CUBE_SHADOW_EXT = 0x8DC5, + UNSIGNED_INT_VEC2_EXT = 0x8DC6, + UNSIGNED_INT_VEC3_EXT = 0x8DC7, + UNSIGNED_INT_VEC4_EXT = 0x8DC8, + INT_SAMPLER_1D_EXT = 0x8DC9, + INT_SAMPLER_2D_EXT = 0x8DCA, + INT_SAMPLER_3D_EXT = 0x8DCB, + INT_SAMPLER_CUBE_EXT = 0x8DCC, + INT_SAMPLER_2D_RECT_EXT = 0x8DCD, + INT_SAMPLER_1D_ARRAY_EXT = 0x8DCE, + INT_SAMPLER_2D_ARRAY_EXT = 0x8DCF, + INT_SAMPLER_BUFFER_EXT = 0x8DD0, + UNSIGNED_INT_SAMPLER_1D_EXT = 0x8DD1, + UNSIGNED_INT_SAMPLER_2D_EXT = 0x8DD2, + UNSIGNED_INT_SAMPLER_3D_EXT = 0x8DD3, + UNSIGNED_INT_SAMPLER_CUBE_EXT = 0x8DD4, + UNSIGNED_INT_SAMPLER_2D_RECT_EXT = 0x8DD5, + UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT = 0x8DD6, + UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT = 0x8DD7, + UNSIGNED_INT_SAMPLER_BUFFER_EXT = 0x8DD8, + R11F_G11F_B10F_EXT = 0x8C3A, + UNSIGNED_INT_10F_11F_11F_REV_EXT = 0x8C3B, + RGBA_SIGNED_COMPONENTS_EXT = 0x8C3C, + TEXTURE_1D_ARRAY_EXT = 0x8C18, + PROXY_TEXTURE_1D_ARRAY_EXT = 0x8C19, + TEXTURE_2D_ARRAY_EXT = 0x8C1A, + PROXY_TEXTURE_2D_ARRAY_EXT = 0x8C1B, + TEXTURE_BINDING_1D_ARRAY_EXT = 0x8C1C, + TEXTURE_BINDING_2D_ARRAY_EXT = 0x8C1D, + MAX_ARRAY_TEXTURE_LAYERS_EXT = 0x88FF, + COMPARE_REF_DEPTH_TO_TEXTURE_EXT = 0x884E, + TEXTURE_BUFFER_EXT = 0x8C2A, + MAX_TEXTURE_BUFFER_SIZE_EXT = 0x8C2B, + TEXTURE_BINDING_BUFFER_EXT = 0x8C2C, + TEXTURE_BUFFER_DATA_STORE_BINDING_EXT = 0x8C2D, + TEXTURE_BUFFER_FORMAT_EXT = 0x8C2E, + COMPRESSED_LUMINANCE_LATC1_EXT = 0x8C70, + COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT = 0x8C71, + COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C72, + COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C73, + COMPRESSED_RED_RGTC1_EXT = 0x8DBB, + COMPRESSED_SIGNED_RED_RGTC1_EXT = 0x8DBC, + COMPRESSED_RED_GREEN_RGTC2_EXT = 0x8DBD, + COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT = 0x8DBE, + RGB9_E5_EXT = 0x8C3D, + UNSIGNED_INT_5_9_9_9_REV_EXT = 0x8C3E, + TEXTURE_SHARED_SIZE_EXT = 0x8C3F, + DEPTH_COMPONENT32F_NV = 0x8DAB, + DEPTH32F_STENCIL8_NV = 0x8DAC, + FLOAT_32_UNSIGNED_INT_24_8_REV_NV = 0x8DAD, + DEPTH_BUFFER_FLOAT_MODE_NV = 0x8DAF, + RENDERBUFFER_COVERAGE_SAMPLES_NV = 0x8CAB, + RENDERBUFFER_COLOR_SAMPLES_NV = 0x8E10, + MAX_MULTISAMPLE_COVERAGE_MODES_NV = 0x8E11, + MULTISAMPLE_COVERAGE_MODES_NV = 0x8E12, + FRAMEBUFFER_SRGB_EXT = 0x8DB9, + FRAMEBUFFER_SRGB_CAPABLE_EXT = 0x8DBA, + MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV = 0x8DA0, + MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV = 0x8DA1, + VERTEX_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA2, + GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA3, + FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV = 0x8DA4, + BACK_PRIMARY_COLOR_NV = 0x8C77, + BACK_SECONDARY_COLOR_NV = 0x8C78, + TEXTURE_COORD_NV = 0x8C79, + CLIP_DISTANCE_NV = 0x8C7A, + VERTEX_ID_NV = 0x8C7B, + PRIMITIVE_ID_NV = 0x8C7C, + GENERIC_ATTRIB_NV = 0x8C7D, + TRANSFORM_FEEDBACK_ATTRIBS_NV = 0x8C7E, + TRANSFORM_FEEDBACK_BUFFER_MODE_NV = 0x8C7F, + MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV = 0x8C80, + ACTIVE_VARYINGS_NV = 0x8C81, + ACTIVE_VARYING_MAX_LENGTH_NV = 0x8C82, + TRANSFORM_FEEDBACK_VARYINGS_NV = 0x8C83, + TRANSFORM_FEEDBACK_BUFFER_START_NV = 0x8C84, + TRANSFORM_FEEDBACK_BUFFER_SIZE_NV = 0x8C85, + TRANSFORM_FEEDBACK_RECORD_NV = 0x8C86, + PRIMITIVES_GENERATED_NV = 0x8C87, + TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV = 0x8C88, + RASTERIZER_DISCARD_NV = 0x8C89, + MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV = 0x8C8A, + MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV = 0x8C8B, + INTERLEAVED_ATTRIBS_NV = 0x8C8C, + SEPARATE_ATTRIBS_NV = 0x8C8D, + TRANSFORM_FEEDBACK_BUFFER_NV = 0x8C8E, + TRANSFORM_FEEDBACK_BUFFER_BINDING_NV = 0x8C8F, + MAX_VERTEX_BINDABLE_UNIFORMS_EXT = 0x8DE2, + MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT = 0x8DE3, + MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT = 0x8DE4, + MAX_BINDABLE_UNIFORM_SIZE_EXT = 0x8DED, + UNIFORM_BUFFER_EXT = 0x8DEE, + UNIFORM_BUFFER_BINDING_EXT = 0x8DEF, + RGBA32UI_EXT = 0x8D70, + RGB32UI_EXT = 0x8D71, + ALPHA32UI_EXT = 0x8D72, + INTENSITY32UI_EXT = 0x8D73, + LUMINANCE32UI_EXT = 0x8D74, + LUMINANCE_ALPHA32UI_EXT = 0x8D75, + RGBA16UI_EXT = 0x8D76, + RGB16UI_EXT = 0x8D77, + ALPHA16UI_EXT = 0x8D78, + INTENSITY16UI_EXT = 0x8D79, + LUMINANCE16UI_EXT = 0x8D7A, + LUMINANCE_ALPHA16UI_EXT = 0x8D7B, + RGBA8UI_EXT = 0x8D7C, + RGB8UI_EXT = 0x8D7D, + ALPHA8UI_EXT = 0x8D7E, + INTENSITY8UI_EXT = 0x8D7F, + LUMINANCE8UI_EXT = 0x8D80, + LUMINANCE_ALPHA8UI_EXT = 0x8D81, + RGBA32I_EXT = 0x8D82, + RGB32I_EXT = 0x8D83, + ALPHA32I_EXT = 0x8D84, + INTENSITY32I_EXT = 0x8D85, + LUMINANCE32I_EXT = 0x8D86, + LUMINANCE_ALPHA32I_EXT = 0x8D87, + RGBA16I_EXT = 0x8D88, + RGB16I_EXT = 0x8D89, + ALPHA16I_EXT = 0x8D8A, + INTENSITY16I_EXT = 0x8D8B, + LUMINANCE16I_EXT = 0x8D8C, + LUMINANCE_ALPHA16I_EXT = 0x8D8D, + RGBA8I_EXT = 0x8D8E, + RGB8I_EXT = 0x8D8F, + ALPHA8I_EXT = 0x8D90, + INTENSITY8I_EXT = 0x8D91, + LUMINANCE8I_EXT = 0x8D92, + LUMINANCE_ALPHA8I_EXT = 0x8D93, + RED_INTEGER_EXT = 0x8D94, + GREEN_INTEGER_EXT = 0x8D95, + BLUE_INTEGER_EXT = 0x8D96, + ALPHA_INTEGER_EXT = 0x8D97, + RGB_INTEGER_EXT = 0x8D98, + RGBA_INTEGER_EXT = 0x8D99, + BGR_INTEGER_EXT = 0x8D9A, + BGRA_INTEGER_EXT = 0x8D9B, + LUMINANCE_INTEGER_EXT = 0x8D9C, + LUMINANCE_ALPHA_INTEGER_EXT = 0x8D9D, + RGBA_INTEGER_MODE_EXT = 0x8D9E, + } #region public enum AttribMask public enum AttribMask { @@ -58,8 +3048,8 @@ namespace OpenTK.OpenGL.Enums #region public enum Boolean public enum Boolean { - FALSE, - TRUE, + FALSE = 0, + TRUE = 1, } #endregion #region public enum BeginMode diff --git a/Source/OpenGL/OpenGL/GLHelper.cs b/Source/OpenGL/OpenGL/GLHelper.cs index 6652b3d9..f0c76305 100644 --- a/Source/OpenGL/OpenGL/GLHelper.cs +++ b/Source/OpenGL/OpenGL/GLHelper.cs @@ -91,11 +91,11 @@ namespace OpenTK.OpenGL #region internal static IntPtr aglGetProcAddress(string s) // osx gets complicated - [DllImport(GL_NATIVE_LIBRARY, EntryPoint = "NSIsSymbolNameDefined")] + [DllImport("libdl.dylib", EntryPoint = "NSIsSymbolNameDefined")] internal static extern bool NSIsSymbolNameDefined(string s); - [DllImport(GL_NATIVE_LIBRARY, EntryPoint = "NSLookupAndBindSymbol")] + [DllImport("libdl.dylib", EntryPoint = "NSLookupAndBindSymbol")] internal static extern IntPtr NSLookupAndBindSymbol(string s); - [DllImport(GL_NATIVE_LIBRARY, EntryPoint = "NSAddressOfSymbol")] + [DllImport("libdl.dylib", EntryPoint = "NSAddressOfSymbol")] internal static extern IntPtr NSAddressOfSymbol(IntPtr symbol); internal static IntPtr aglGetProcAddress(string s) @@ -181,7 +181,10 @@ namespace OpenTK.OpenGL { } // Ack! - throw new NotSupportedException("Unknown platform - cannot get function pointer."); + throw new NotSupportedException( +@"Could not find out how to retrive function pointers for this platform. +Did you remember to copy OpenTK.OpenGL.dll.config to your binary's folder? +"); case Platform.Windows: return Wgl.GetProcAddress(name); @@ -214,7 +217,9 @@ namespace OpenTK.OpenGL { IntPtr address = GetFunctionPointerForExtensionMethod(name); - if (address == IntPtr.Zero) + if (address == IntPtr.Zero || + address == new IntPtr(1) || // Workaround for buggy nvidia drivers which return + address == new IntPtr(2)) // 1 or 2 instead of IntPtr.Zero for some extensions. { return null; } diff --git a/Source/OpenGL/Specifications/csharp.tm b/Source/OpenGL/Specifications/csharp.tm index 9de9a245..88ac6d15 100644 --- a/Source/OpenGL/Specifications/csharp.tm +++ b/Source/OpenGL/Specifications/csharp.tm @@ -2,7 +2,7 @@ GLsizei, Int32 GLsizeiptr, IntPtr GLintptr, IntPtr -GLenum, Int32 +# GLenum, Int32 GLboolean, Boolean #Int32 #Boolean GLbitfield, Int32 #UInt32 # GLvoid*, IntPtr